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
Add the Aqua Security Helm repo with helm repo add aqua https://aquasecurity.github.io/helm-charts/ && helm repo update.
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.
Confirm the operator is generating report custom resources per scanned workload; list them with kubectl get vulnerabilityreports -A.
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.
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.
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
Report CRDs are workload/replica-set scoped and get regenerated on redeploy — treat them as point-in-time cluster state, not a persistent audit log; ship them to a SIEM/dashboard if history is required.
The operator's periodic re-scan interval and default resource requests/limits can strain node resources on large clusters if left untuned — review the chart's values.yaml before installing broadly.
Report CRDs accumulate for every scanned resource; without cleanup/retention configuration, stale reports for deleted workloads can pile up over time.
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?