Error during vulnerability DB Dowloading #7477
Unanswered
sacha-athias-wmx
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I'm intermittently seeing the same error in an Azure China environment. It works a majority of the time, so doesn't seem to be a firewall issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
finally i found a solution if you want @bloomadcariad, as i mentionned previously i developed my own github action to use trivy. So first i install trivy, then i download the vulnerability DB by running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Hello
I am using trivy from a while inside github action, i have wrote my own, because i could not use other action. Since 3 months, scans does not works anymore. It fails during Vulnerability database downloading with this message.
If i use
--debug
i got this outbputMaybe i supposed it fails because i got this message
There is no valid metadata file err="unable to open a file: open /home/runner/.cache/trivy/db/metadata.json: no such file or directory"
but i am not sure and i did not find any case about that on google. Also i found that on the trivy docBut i have no "firewall" it github action, before it was working perfectly but now it does not works anymore
I am using this command to perform vulnerability scanning on docker images
trivy image --no-progress --severity CRITICAL,HIGH,MEDIUM --scanners=vuln --ignore-unfixed ${imageArn} -o ./sarif-result/${sarifFile} -f sarif --timeout 15m --debug
Thanks for your support 🙏 é
Target
Container Image
Scanner
Vulnerability
Output Format
SARIF
Mode
Standalone
Operating System
debian
Version
Beta Was this translation helpful? Give feedback.
All reactions