Replies: 1 comment 1 reply
-
Hello @wenskys Looks like you have mistake in path to db. Also uou can see Trivy cache dir in
Regards, Dmitriy |
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
2024-12-25T01:11:57+08:00 ERROR [vulndb] The first run cannot skip downloading DB 2024-12-25T01:11:57+08:00 FATAL Fatal error init error: DB error: database error: --skip-update cannot be specified on the first run
OR
2024-12-25T00:43:38+08:00 INFO [vulndb] Need to update DB 2024-12-25T00:43:38+08:00 INFO [vulndb] Downloading vulnerability DB... 2024-12-25T00:43:38+08:00 INFO [vulndb] Downloading artifact... repo="mirror.gcr.io/aquasec/trivy-db:2" 2024-12-25T00:44:00+08:00 FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from mirror.gcr.io/aquasec/trivy-db:2: OCI repository error: 1 error occurred: * Get "https://mirror.gcr.io/v2/": dial tcp 74.125.23.82:443: connect: connection timed out
My environment is an offline environment or a machine with no access to the domain name, I have downloaded trivy-db under github and added it under /root/.cache/trivy-db.
thanks~
Target
None
Scanner
None
Output Format
None
Mode
None
Operating System
No response
Version
No response
Beta Was this translation helpful? Give feedback.
All reactions