Inconsistent behavior: trivy k8s scans Deployment but not Pod (private registry images) #9447
Unanswered
nitindiwakar2610
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I have build a service that runs trivy k8s scans against client clusters.The service only receives OpenShift (oc) creds from the client. Using those, it generates a kubeconfig and authenticates to the cluster.
When running trivy k8s inside this service:
Scanning a Deployment that uses a private registry images works fine.
Scanning the corresponding Pod from that Deployment fails with an image resolution/authentication error.
Target
Kubernetes
Scanner
Vulnerability
Output Format
JSON
Mode
Standalone
Operating System
No response
Version
Beta Was this translation helpful? Give feedback.
All reactions