Replies: 2 comments
-
Hello @sklakegg Is there a way for you to scan this image locally? Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
-
We can keep discussing in #5400 |
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
Hey, after https://github.com/aquasecurity/trivy-action was bumped to v0.13.0 which updated trivy to v0.46.0, we seem to get a lot of these errors when running our workflows:
2023-10-26T06:10:01.326Z FATAL image scan error: scan error: scan failed: failed analysis: analyze error: pipeline error: failed to analyze layer (sha256:<removed>): post analysis error: post analysis error: Unable to initialize the Java DB: Java DB update failed: Java DB update error: Java DB metadata error: unable to decode metadata: EOF
Downgrading to v.12.0 (which puts trivy at v0.45.0) seems to solve the issue
Desired Behavior
Trivy scan running as usual
Actual Behavior
2023-10-26T06:10:01.326Z FATAL image scan error: scan error: scan failed: failed analysis: analyze error: pipeline error: failed to analyze layer (sha256:<removed>): post analysis error: post analysis error: Unable to initialize the Java DB: Java DB update failed: Java DB update error: Java DB metadata error: unable to decode metadata: EOF
Reproduction Steps
Target
Container Image
Scanner
Vulnerability
Output Format
JSON
Mode
Standalone
Debug Output
Operating System
Ubuntu 22.04.3
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions