We have added Trivy to our Sourcegraph pipeline to help us identify security vulnerabilities in our Containers.
Any finding reported by Trivy will need to corrected. If it cannot be corrected immediately, a security-issue will need to be created, the proper suppression created, the #security slack channel needs to be alerted, and then please tag the security in the PR. Please see these instruction on suppressing a vulnerability for Trviy.
Not at the moment. Once we finish optimizing the results and have the neccessary procedures in place, this will be begin failing.
I have a vulnerability that is a false positive, or one that we will not fix. Can I make Trivy ignore it?
Yes. Simply follow the instructions in filtering vulnerabilities and then tag the security team to review the PR.
Yes. Trivy is available as a plugin for VSCode:
- Also Trivy can be installed locally on macOS via homebrew:
$ brew install aquasecurity/trivy/trivy