Skip to main content

Traceability between Vulnerabilities, Components and Actions

🌟 Objective​

Ensure that each vulnerability identified in third-party components has complete traceability from its origin (SBOM + SCA), through analysis, to remediation or documented acceptance.

✅ This traceability makes it possible to demonstrate compliance, mitigate risks in a justified way, and maintain control over the real security state of the dependencies.


🔢 Elements of traceability​

ElementExample
Componentlog4j:log4j-core@2.14.1
SBOM identifierpurl:maven/log4j/log4j-core@2.14.1
Finding / CVECVE-2021-44228
Scanner / Reportgrype, snyk, OWASP DC, etc.
Affected artefactapp-backend-1.2.5.jar
Origin commitabc123 (pull request where the dep was used)
Associated taskEX-SEC-456 (issue, PR or remediation task)
Final stateFixed / Accepted with justification

Illustrative identifiers (EX-…); they do not correspond to the Requirements Catalogue of Ch. 02.


📄 Record template​

# Identificadores ilustrativos (EX-…); não correspondem ao Catálogo de Requisitos do Cap. 02.
- cve: CVE-2021-44228
componente: log4j-core@2.14.1
purl: pkg:maven/log4j/log4j-core@2.14.1
artefacto: app-v1.2.5.jar
introduzido_por: commit abc123
tarefa: EX-SEC-456
decisao: corrigido
evidencias:
- commit: def789
- release: v1.2.6
- scanner: grype-scan-2024-06-02.json

📁 It is suggested that this record be kept in a versioned file (vulns.yaml) or in a database integrated with Jira or GitHub Projects.


🛠️ Integration with ALM / backlog​

  • SCA findings must automatically create remediation tasks (via API or webhook)
  • Tickets must contain:
    • Link to the CVE (NVD, GH Advisory)
    • Affected components
    • SBOM + affected pipeline
    • Acceptance criterion (validated fix or approved exception)

🔗 Use normalised labels: cve, sca, seguranca, sbom, rastreabilidade


✅ Finding closure criteria​

Final stateMandatory requirements
FixedPR with the update, new release validated by SCA
AcceptedTechnical justification + AppSec/documented approval
MitigatedCompensating control + technical validation + defined deadline
ObsoletePackage no longer in use (excluded from the current SBOM)

🔗 Links to other files​

DocumentRole in traceability
01-inventario-sbom.mdSource of components by version
02-analise-sca.mdGenerates findings with references to CVEs
04-integracao-ci-cd.mdConnects findings to the artefact and release
09-excecoes-e-aceitacao-risco.mdFormalises acceptance of findings if they are not fixed

🔒 Traceability is a critical factor in audits, incident response and security governance. It must be systematised, versioned and accessible.