How to use properly use ENVs TRIVY_DB_REPOSITORY and TRIVY_JAVA_DB_REPOSITORY for multiple locations. #7855
sbirl
started this conversation in
Documentation
Replies: 2 comments 1 reply
-
If you're specifying in the trivy config yaml file, then a list should work. If it's via the command line params, then a comma separated list is expected. Did you try those? cc @nikpivkin |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @sbirl ! It was a user-side problem, see the comment. |
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
Trying to make changes to how my colleagues and I run Trivy (v0.56.2) in our environment because of Issue #7699. Based what Ive seen from the discussions in 7668, I thought the two ENVs were comma-separated. However, as reported further in that thread Trivy gives up after the first repo hits the rate limit.
I searched high and low for other examples of how to use
TRIVY_DB_REPOSITORY
andTRIVY_JAVA_DB_REPOSITORY
(or by extension--db-repository
and--java-db-repository
if my colleagues and I need to try that), but there does not seem to be any clear-cut explanation on how to properly pass along multiple database locations at the commandline.Or maybe I missed it the doc I looked at?
Link
https://aquasecurity.github.io/trivy/v0.56/docs/references/configuration/config-file/#db-options
Suggestions
Usage examples.
Beta Was this translation helpful? Give feedback.
All reactions