Anchore has a toggle that lets users filter out vulnerabilities that the vendor disagrees with or does not intend to prioritize for remediation. We use this to prioritize engineering effort for fixes and also exclude vulnerabilities from gating regardless of their severity.
This is a toggle switch in the UI (see screenshot) and a parameter on the command line (
anchore image vulnerabilities --vendor-only
).
The API uses a
vendor_only
parameter in the
/images/{image_digest}/vuln/{vuln_type}
endpoint which can be set to "true" or "false". (API reference: https://docs.anchore.com/current/docs/api/v2/reference/)