-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integrate Trivy for vulnerability scanning #3
Comments
If I am not mistaken currently ods-pipeline creates an SBOM using Trivy but does not yet use it for vulnerability scanning. If we used Trivy also for scanning, caches Trivy creates could be reused. Also in general it makes sense to me to use a single tool for both. Assuming that there is also external scanning happening the need to support other scanning tools for ods-pipeline might be less. On the other hand it might be cool if we could make it pluggable so that other scanners could be supported without requiring this to be built into ods-pipeline. There are many candidates that may makes sense to use, without a lot of research osv-scanner, grype, syft (see opendevstack/ods-pipeline#592 (comment)) and perhaps other related tools such as Docker Bench come to mind. |
Hi! I like a lot the approach! I was thinking in the same way for ods-jenkins-shared-lib indeed! Must be aligned with IT. Nevertheless, I would try to keep the PR decoration. Also, I suggest on having scans on different stages and with different puroposes:
Then compile and report/decorate? What do you think? |
Thanks for the comments! I lean towards the following now:
In regards to some other aspects you mentioned:
|
Actually, this may be interesting for repos not building container images. Not sure how to deal with this yet. |
Transferring as a consequence of opendevstack/ods-pipeline#722. |
Trivy is a popular vulnerability and misconfiguration scanner.
ODS Pipeline supports vulnerability scanning via the Aqua scanner right now, which is a commercial offering. In contrast, trivy is a free offering, but it can be integrated with an Aqua server via the Aqua plugin.
Migrating from the Aqua scanner to trivy will be a great step forward for ODS Pipeline, because:
The text was updated successfully, but these errors were encountered: