Replies: 2 comments 1 reply
-
Hi @prezha ! Thank you for the report What does your file structure look like? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Track #7781 |
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
i think i found a bug in trivy that is causing a
file does not exist
issue while scanning tar-ed helm charts with with newer (ie, 0.55.0+) trivy versions - tl;dr:the bug was probably introduced in commit e95152f as part of the #7289, where a check was removed, which further means that it was probably introduced in trivy v0.55.0 but it was working in v0.54.1
btw, i have a pr proposal that might fix this issue, if you'd like to review, just let me know
Desired Behavior
trivy does not error while processing tar-ed helm charts
Actual Behavior
trivy errors with
file does not exist
while processing tar-ed helm chartsReproduction Steps
1. add eg, https://github.com/bitnami/charts/tree/main/bitnami/common v2.26.0 2. add eg, https://github.com/open-telemetry/opentelemetry-helm-charts/releases/tag/opentelemetry-collector-0.108.0 3. run 'trivy fs --scanners misconfig --debug --quiet=false .'
Target
Filesystem
Scanner
Misconfiguration
Output Format
None
Mode
Standalone
Debug Output
Operating System
openSUSE Tumbleweed, Ubuntu 22.04, macOS Sonoma 14.7
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions