{{ message }}
Should Trivy's vulnerability scanner be enabled by default? #7052
Closed
thomasleplus
started this conversation in
General
Replies: 2 comments 2 replies
-
|
Moved this to a discussion. Of course it's trivial to disable vulnerability scanning by providing a customized configuration file for Trivy. What are Trivy defaults in this case? |
Beta Was this translation helpful? Give feedback.
2 replies
-
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

Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
Current Behavior
Hi,
I guess this is more a question/discussion than a feature request at this point but I noticed recently that Trivy's vulnerability scanner is reporting CVEs in my project's dependencies. I am very much in favor of monitoring and patching CVEs in a project dependencies so I see the value in getting these notifications. But I am already using another tool for that. And I am running it on a schedule, not for each commit/PR. That's because I am blocking merging any commit that breaks
super-linter. CVEs can come up at any time and are usually unrelated with the commit being merged so I don't want to block a dev that's trying to deliver something completely unrelated.Now it is possible that the current commit is introducing a new dependency with a CVE so I can imagine some people would prefer to know, and eventually have to manually override the branch protection rule to force the merge of a commit once they checked that the CVE was not introduced by it. But in my experience more often than not the CVE will be unrelated to the commit.
I know that I can reconfigure Trivy to disable the vulnerability scan, I am just wondering what's the right default for
super-lintergiven how most people use it?Cheers,
Tom
Expected Behavior
Do not fail on vulnerabilities by default?
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions