Run a Trivy scan across image, filesystem, and config targets and apply an ignore policy

domain: aquasecurity.github.io/trivy · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Run trivy image against a target container image to identify OS and library vulnerabilities
  2. Run trivy fs against a local filesystem or repository checkout to scan application dependencies
  3. Run trivy config against infrastructure-as-code files (Terraform, Kubernetes manifests, Dockerfiles) to identify misconfigurations
  4. Create a .trivyignore file or a structured ignore policy file to suppress known-acceptable findings with a documented justification and expiry date
  5. Integrate trivy in CI with an exit-code policy so the build fails on critical or high severity findings above a threshold
  6. Export results in a structured format (JSON or SARIF) for ingestion into a vulnerability management platform

Known gotchas

Related routes

Scan a container image with Trivy in a CI pipeline
aquasecurity.github.io · 6 steps · unrated
Use Trivy to generate an SBOM and then apply a VEX file to filter vulnerability scan results
security/compliance · 5 steps · unrated
Scan a container image for vulnerabilities and generate an SBOM simultaneously using Trivy, outputting results in CycloneDX format
aquasecurity.github.io/trivy · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans