feat(csaf): read vendor CSAF advisories for matching (#515, part A) #518

Merged
sharang merged 1 commits from feat/515-csaf-parse into main 2026-10-06 16:11:08 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 ab0c3350dd feat(csaf): read vendor CSAF advisories for matching (#515, part A)
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 12m0s
- compliance_core::csaf_ingest: a CSAF 2.0 advisory read into what matching
  needs. Products from the product tree (vendor, family, name inherited by
  each product_version / product_version_range branch), full_product_names
  and relationships, with their exact version or vers range, CPE, purl and
  order numbers (Siemens model_numbers, skus). Per vulnerability: CVE,
  title, description, highest CVSS score and severity, affected / fixed /
  not affected / under investigation / recommended products (all eight
  product_status keys) and the remediations. The advisory's readable page
  (a self reference that is not the JSON or PDF), the link Siemens' terms
  ask for; TLP label. AdvisoryProduct::covers(name, version) and
  Advisory::fixed_versions for matching.
- compliance_core::version: cmp_dotted moves here from nvd_cpe.rs (shared),
  and a vers range parser per the purl spec (=, !=, <, <=, >, >=, *, |-joined
  intervals; generic/intdot/semver/all compared as dotted versions).
- Fixtures: CISA ICSA-26-260-07 (public), Siemens SSA-240718 (terms allow
  redistribution with the link, in the README), a synthetic VDE-shaped
  advisory; an #[ignore] test reads the newest live advisory of CODESYS
  (CERT@VDE), Siemens and CISA.

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