-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trivy Java DB as part of server mode #3560
Comments
is there any information / plan when this will be implemented? Imagine you have a set of hosts where it's running or containers used for trivy vuln scanning this is a huge amount of traffic. |
We were thinking about the design and realized that simply putting the DB on the server side would generate a lot of HTTP requests to the server since the DB is accessed sequentially. HTTP requests need to be reduced by aggregating DB access, but this will require significant modifications to the code. We'd say unfortunately it is not coming soon. It's still in our backlog, though. Instead, you can host the database in your own registry and use Or download the DB manually and copy it to your machine. |
--skip-db-update --skip-java-db-update - is not working via Trivy operator in client-server mode |
Is this still the issue, that the client needs to download the java-db? |
Yes, it is ( |
I think it would be good if this was highlighted in the docs on https://aquasecurity.github.io/trivy/v0.55/docs/references/modes/client-server/ One can have a redis cache as a backend, but what is then the use of the trivy server? |
Currently the Trivy client itself downloads the Java DB if a java package is detected, regardless if it's configured to use a central server (client / server mode).
It would be great if the server is storing the Java DB itself and the client is using it for detecting security issues in java packages; without the need to download the DB on client side.
The text was updated successfully, but these errors were encountered: