k8s scanning fails in 0.47.0 #5528
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
target/kubernetes
Issues relating to kubernetes cluster scanning
Milestone
Discussed in #5521
Originally posted by michael-mader November 6, 2023
Description
The following command fails with trivy 0.47.0:
trivy -d k8s --context "my-context" -n default deployments/my-release
It fails with this output:
it is working in 0.46.1 and below. It is failing when using the trivy binary on MacOS 14.1 and running the 0.47.0 docker image on linux.
Desired Behavior
Runs till end and does only fail if there are vulnerabilities
Actual Behavior
Fails:
Reproduction Steps
Target
Kubernetes
Scanner
Vulnerability
Output Format
None
Mode
Standalone
Debug Output
Checklist
trivy image --reset
The text was updated successfully, but these errors were encountered: