trivy-operator not scanning all running containers images neither generating vuln report #2464
Replies: 3 comments 1 reply
-
I can see in logs that a scan job is submitted but no report is generated I am struggling to identify the issue but can't do it and it already took alot of time to make it work and scan all the container images within cluster. other than default configuration in values.yaml file, I have made these changes custom-values.yaml file serviceMonitor: timeout: "10m0s" insecureRegistries: nonSslRegistries: policiesBundle: resources: nodeCollector: operator: trivyOperator: |
Beta Was this translation helpful? Give feedback.
-
Hi @tom1299, Thanks for looking into it, I don't see such log but I do see that scan jobs are created 2025-02-28T07:46:55Z DEBUG reconciler.vulnerabilityreport Submitting a scan for the workload {"kind": "DaemonSet", "name": {"name":"pushprox-kube-scheduler-client","namespace":"cattle-monitoring-system"}, "workload": "pushprox-kube-scheduler-client"} |
Beta Was this translation helpful? Give feedback.
-
hi @farizz1 - I see that you're running a Rancher-managed cluster, Trivy operator makes no guarantees on managed Kubernetes flavors, so it's quite possible we don't fully support it. Having said that, if you are able to post the full logs for us somewhere like gist.github.com we maybe able to help you a bit better. From what you've posted so far, I'm unable to see a cause why the operator isn't scanning. |
Beta Was this translation helpful? Give feedback.
-
Question
I have set up the latest version of Trivy Operator (0.24.1) in a Rancher-managed cluster. However, the operator is not scanning all running container images, particularly those in system namespaces like kube-system. The scan job is being created, and I can see that it successfully downloads the Trivy DB and Trivy checks. Despite this, the Trivy Operator does not proceed with scanning the images and it doesn't generate the Vuln report at all. What could be causing this issue?
Target
Container Image
Scanner
Vulnerability
Output Format
None
Mode
Standalone
Operating System
No response
Version
Beta Was this translation helpful? Give feedback.
All reactions