feat(techniques): add external_references storage and display MITRE sources with links
Aegis CI / lint-and-test (push) Waiting to run
Snyk Security Scan / Python vulnerabilities (backend) (push) Waiting to run
Snyk Security Scan / npm vulnerabilities (frontend) (push) Waiting to run
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Waiting to run

This commit is contained in:
kitos
2026-06-18 16:26:11 +02:00
parent 263823f290
commit a58f9fd357
6 changed files with 96 additions and 0 deletions
@@ -0,0 +1,26 @@
"""Add external_references column to techniques table.
Revision ID: b049
Revises: b048
Create Date: 2026-06-18
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects.postgresql import JSONB
revision = "b049"
down_revision = "b048"
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column(
"techniques",
sa.Column("external_references", JSONB, nullable=True),
)
def downgrade() -> None:
op.drop_column("techniques", "external_references")