Files
pruefwerk/compliance-dashboard
Sharang ParnerkarandClaude Opus 5.5 f682fad1ef
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 12m6s
feat(csaf): match components against vendor CSAF advisories (#515, part C)
- pipeline::csaf_match: a CODESYS runtime or library (package manager
  codesys) by normalised name and version against the codesys provider's
  advisories, and any component with a purl against advisory products with
  the same purl (version, range or the purl's own version). Only CVEs;
  only affected products (known/first/last_affected).
- A match raises a CveAlert with the new source `csaf`, or, where OSV/NVD
  reported the same CVE, is merged into that alert (one row per CVE; source
  and summary kept). The alert gains `advisories` (AdvisoryRef: provider,
  id, title, link to the advisory page as Siemens' terms ask, the vendor's
  remediations for the product) and the advisory link in references;
  fixed versions and severity fill in where empty. The SBOM entry gets a
  `csaf` VulnRef with the link (unless the CVE is listed already).
- Run in both paths before the exploitation enrichment, from the
  admin-db index (AdvisoryIndex over MongoAdvisoryStore; providers and
  purls asked for). Scans never fetch.
- compliance_core::version: Vers also reads the range forms CERT@VDE's
  vendors write besides proper vers (`vers:generic/4.15.0.0<4.21.0.0`,
  `4.15.0.0<4.19.0.0`, `<4.17.0.0`); 25 of CODESYS's 36 advisories use them.
- Dashboard: the VEX card shows each advisory id as a link, the remediation
  on hover.
- Tests: runtime below/at the fix, a library not named, merge with an NVD
  alert, purl match; an #[ignore] live test matches CODESYS's 36 real
  advisories against the nightly fixture's runtime 3.5.16.0 (25 CVEs).
- Docs: tools reference, PLC guide; test plan check 36.

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