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) Canceled after 1m34s
Part 1 of #498 (VEX and CSAF for CRA vulnerability handling): the VEX state, its API and the two VEX exports. The dashboard (2/4), the CSAF advisory draft (3/4) and the ENISA report drafts (4/4) follow. - compliance_core::models::vex: VexStatus (under_investigation, affected, not_affected, fixed), the five OpenVEX justifications, VexAssessment (who, when, by_scan). validate(): not_affected needs a justification or impact statement, affected an action statement. - CveAlert gains `vex` and `resolved_at` (both skipped when empty, so the scan's upsert never wipes a statement). - pipeline::vex_lifecycle: an alert reported again is open and loses a `fixed` the scan stated; one a complete lookup no longer finds is resolved, and becomes `fixed` (by_scan) unless a person stated not_affected/fixed. Alerts were never resolved before. - API: GET /api/v1/targets/{id}/cves, PATCH /api/v1/cves/{id}/vex (422 with the reason when incomplete), GET /api/v1/targets/{id}/vex ?format=openvex|cyclonedx. Writes go through the role gate and the support audit like any other. - compliance_core::vex_docs: OpenVEX 0.2.0 and CycloneDX 1.5 VEX (the SBOM plus vulnerabilities with analysis); the status/justification mapping to CycloneDX is documented in the module and the guide. - sbom_docs CycloneDX fixed: it put `vulnerabilities` inside components (invalid, components forbid other properties); now top-level, with bom-refs on every component and the product (pkg:generic/<target>), a serial number, metadata.timestamp/tools, and licenses as SPDX id (checked against CycloneDX's own SPDX list), expression or name. - Evidence pack: vex.openvex.json and vex.cdx.json. - Vendored schemas (compliance-core/schemas, provenance README): CycloneDX 1.5 + SPDX + JSF (Apache-2.0), OpenVEX 0.2.0 (CC0). - Tests: the SBOM and both VEX documents validate against the official schemas (jsonschema, dev-only), with negative controls (nested vulnerabilities, a name as SPDX id, a statement without status fail); statement validation; Mongo: the lifecycle (scan fixes the unassessed and affected, keeps a person's not_affected, withdraws its fixed when the CVE returns, does nothing on an incomplete lookup). - Docs (sbom guide); staging test plan: check 22. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p