Reduce internet traffic #2574
Unanswered
AvdeevArtem
asked this question in
Help & Support
Replies: 1 comment 7 replies
-
hi @AvdeevArtem - thanks for the question. I think we need to rethink the strategy of how the db is used today. As you mentioned it's redownloaded each time, which is quite wasteful as the DB doesn't update more than every 6 hours. @afdesk and I will think about potential ways to solve this. We can keep this discussion open to discuss that. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I use trivy-operator and it uses a lot of outbound traffic to internet because every time when scan job runs it ALWAYS updating vulnerability database. I read Readme in https://github.com/aquasecurity/trivy-db repo and I saw that it automatically update vulnerability database in trivy-db image(this workflow does it).
trivy-operator in my configuration is in a standalone mode. For reducing outbound traffic I've already cached image
public.ecr.aws/aquasecurity/trivy-db:2
on my nodes and use VPC Endpoint to ECR(This is AWS feature to reduces internet traffic)Is it possible not to update vulnerability db every time?(I can't override it there
trivy-operator version -
[v0.26.1](https://github.com/aquasecurity/trivy-operator/releases/tag/v0.26.1)
kubernetes version -
1.32
trivy version -
0.62.1
command for scanning -
filesystem
(it's reduce outbound traffic neither, because scan job run exactly where it detected new image and use node images local cache)This is scan job init container logs.
Can you give me advice how to reduce outbound traffic for that?
if it updates trivy-db every 6 hours why we should download db every time?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions