feat(vex): what a supplier states about its component's vulnerabilities (#1025) #1032

Merged
sharang merged 1 commits from feat/supplier-vex into main 2026-11-16 23:09:28 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 c42c1ff262 feat(vex): what a supplier states about its component's vulnerabilities (#1025)
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 / Agent integration (pull_request) Successful in 4m4s
CI / Check (pull_request) Successful in 21m50s
A supplier's CycloneDX SBOM can carry its VEX: `vulnerabilities[]` with
an `analysis` (state, justification, detail, response) and `affects`
naming components by `bom-ref`. It is now read, from JSON and XML, per
vulnerability and component.

It goes into a field of its own on the alert, `supplier_vex`, never into
`alert.vex`: the supplier's statement is shown beside the manufacturer's
own, but status_of, the exports, notifications and the tracker issues
never read it, so it settles nothing and is never stated as the
manufacturer's. Each scan restates it from the current SBOM and matches
it to the alert of the same vulnerability (its id or an alias) and
component (purl, else name and version); a statement the supplier no
longer makes goes (`upsert_reported` unsets it).

CycloneDX states map to OpenVEX statuses (resolved -> fixed,
exploitable -> affected, in_triage -> under_investigation, not_affected
and false_positive -> not_affected); unknown states, statements without
an analysis and refs naming no component are left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-16 23:45:47 +01:00