- compliance_core::csaf_docs: a csaf_vex advisory from the same alerts and
statements as the OpenVEX/CycloneDX VEX. The target is the product, each
component default_component_of it (with purl). affected -> known_affected
with a remediation (vendor_fix when a fixed version is known, else
mitigation, carrying the action statement); not_affected ->
known_not_affected with the justification as flag and the impact statement
as threat; one vulnerability per CVE (GHSA alerts with a CVE alias merge).
Always a draft: tracking status draft, TLP:AMBER, lang from the UI, and the
note "Draft, not published: check publisher and statements before
release."
- Publisher: the workspace; namespace from ?namespace= (http(s) URL, else
400) or the placeholder https://example.invalid/<workspace>.
- GET /api/v1/targets/{id}/csaf?namespace=&lang=; csaf-vex.json in the
evidence pack. The VEX export's loading is shared with it.
- Dashboard: web-address field and "CSAF-Entwurf herunterladen" in the VEX
card.
- Validation: vendored OASIS CSAF 2.0 schema and FIRST CVSS schemas (from
gocsaf v3.6.0); an #[ignore] test runs gocsaf csaf_validator (Apache-2.0)
and BSI csaf-validator-lib (MIT) mandatory and optional tests: no errors.
- Docs DE/EN (CSAF section; publish as WHITE/GREEN), test plan check 28.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p