Deploy Trivy Operator on Kubernetes for continuous, in-cluster vulnerability scanning of running workloads

domain: aquasecurity.github.io · 6 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. Add the Aqua Security Helm repo with helm repo add aqua https://aquasecurity.github.io/helm-charts/ && helm repo update.
  2. Install the operator into a dedicated namespace: helm install trivy-operator aqua/trivy-operator --namespace trivy-system --create-namespace, pinning --version to a specific chart release for reproducibility.
  3. Confirm the operator is generating report custom resources per scanned workload; list them with kubectl get vulnerabilityreports -A.
  4. Note the operator also produces other report types alongside vulnerability reports — configuration audit reports, exposed secret reports, and RBAC assessment reports — queryable the same way as CRDs.
  5. Tune scan behavior via Helm --set values (e.g. --set trivy.ignoreUnfixed=true to only report fixable vulnerabilities) rather than editing the operator deployment directly.
  6. Rely on the operator's built-in triggers — it scans on workload creation events and re-scans periodically — rather than invoking trivy manually inside the cluster.

Known gotchas

Related routes

Scan IaC and container images together using Trivy in a CI pipeline
aquasecurity.github.io/trivy · 6 steps · unrated
Scan a container image for vulnerabilities and gate CI on severity thresholds using Trivy
aquasecurity.github.io/trivy · 5 steps · unrated
Scan a container image with Trivy in a CI pipeline
aquasecurity.github.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ 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