Scanner says the image is affected by CVE-X but your VEX says `not_affected`; the gate still fails
IntermediateTroubleshootingSupply chain: signing, SBOM and dependencies
Answer
Likely causes → The scanner is not reading the VEX document, the product/purl identifiers in the VEX do not match the scanned components, or the format is unsupported.
Diagnose →
trivy image --vex ./vex.openvex.json --debug ghcr.io/acme/api@sha256:... 2>&1 | grep -i vex
Fix → Use exact purls (including version) in products/subcomponents, and pass the VEX file explicitly or attach it as an attestation the scanner can discover.
Prevent → Generate VEX with tooling (vexctl create) and test it in CI against the gate.
More on Supply chain: signing, SBOM and dependencies
`cosign verify` fails with `Error: no matching signatures` for an image CI says it signedBeginnerKeyless `cosign verify` fails: `none of the expected identities matched what was in the certificate`Intermediate`cosign sign` in GitHub Actions fails with `getting signer: getting key from Fulcio: ... no OIDC token`BeginnerKey-based `cosign verify --key cosign.pub` fails after a key rotation for older imagesIntermediate`cosign verify-attestation --type cyclonedx` returns `none of the attestations matched the predicate type`IntermediateKyverno `verifyImages` rejects pods: `failed to verify image ... : no signatures found` for a signed private ECR imageAdvanced