Replies: 1 comment 4 replies
-
AFAIK With Although having said that, if you're looking to scan custom resources with the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Is there a way to configure the Kubernetes scanner to understand custom resources? We're trying to scan some clusters that are running Argo Rollouts and Argo Workflows. Both of those services use Custom Resources that define resources to create. Rollouts is basically a replacement for Deployments, so it will create and manage ReplicaSets, and Argo Workflows creates a bunch of pods. Right now, I'm getting separate reports for hundreds of Argo Workflow related pods, even though they're all coming from the same source. This, in turn, is causing the scan run to get OOMKilled frequently, because the run is producing a report that's over a gigabyte.
For the built-in resources, it looks like you're rolling up and deduping the scan findings. For instance, there may be a hundred pods on a cluster, but they all come from the same Deployment, so Trivy just reports one set of findings against that Deployment. I'd like to do the same thing for these custom resources.
Target
Kubernetes
Scanner
Vulnerability
Output Format
JSON
Mode
Standalone
Operating System
Ubuntu 22.04
Version
Beta Was this translation helpful? Give feedback.
All reactions