Replies: 3 comments
-
The same error happens for an To reproduce it, just replace the 2nd step to
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I've created a Pull Request to fix it: aquasecurity/trivy-kubernetes#362 |
Beta Was this translation helpful? Give feedback.
0 replies
-
issue opened #7011 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Trivy fails when scanning a Kubernetes workload with an empty item in
imagePullSecrets
array:Desired Behavior
I expect this object to be scanned without errors, ignoring the empty
imagePullSecrets
item.Actual Behavior
Trivy fails with the following output:
Reproduction Steps
imagePullSecrets
arrayTarget
Kubernetes
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
2024-06-13T17:04:22-03:00 DEBUG Parsed severities severities=[UNKNOWN LOW MEDIUM HIGH CRITICAL] 2024-06-13T17:04:22-03:00 DEBUG Ignore statuses statuses=[] 2024-06-13T17:04:23-03:00 FATAL Fatal error get k8s artifacts with node info error: failed getting auth for gvr: /v1, Resource=pods - getting secret by name: default/: resource name may not be empty
Operating System
linux
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions