Files
pruefwerk/compliance-core
Sharang ParnerkarandClaude Opus 5.5 bc3e5dda99
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 11m19s
fix(vex): CVE is the primary vulnerability id in VEX, CSAF and CycloneDX, GHSA an alias
ENISA and BSI work with CVE ids. OpenVEX and the CycloneDX VEX named a
vulnerability by the id its alert was found under, so a GitHub advisory
appeared as GHSA-... even when its CVE was known.

- OpenVEX: vulnerability.name is the CVE, the GHSA and other ids are aliases.
- CycloneDX VEX and SBOM: id is the CVE with source NVD, the GHSA a reference
  to GitHub Security Advisories. VulnRef now keeps OSV's aliases so the SBOM
  export can do the same.
- CSAF: already keyed on the CVE; ids now name GitHub Security Advisories.
- Alerts of one CVE in one component (GHSA and CVE alerts) are one statement
  in all three VEX formats; an explicit statement wins, then an open alert.
- A vulnerability without a CVE keeps its advisory id as before.
- One strict is_cve in compliance-core replaces the CSAF and enrichment copies.

Stored alerts and VEX statements are unchanged (keyed by alert _id / cve_id).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-09 15:09:12 +02:00
..