-
Notifications
You must be signed in to change notification settings - Fork 94
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
Image scanning #1291
Image scanning #1291
Conversation
c60504b
to
f02eef0
Compare
Hi @HarshCasper it seems I was able to fix the issue, you were passing an array to the
*we might need to pick the second now that I think because the sha is more detailed than the tag |
As a matter of fact, code-server seems to be using trivy as well and looks really good as a policy standard https://github.com/coder/code-server/security/policy |
Think of this PR as more of a discussion.
Changes introduced in this PR:
Types of changes
What types of changes does your PR introduce?
Put an
x
in the boxes that applyTesting
Requires testing
In case you checked yes, did you write tests?
Further comments
This PR is a step ahead for DevSecOps tooling integration for QHub CI, as discussed in this issue #891.
For implementing container scan, I looked into various tools:
By going through blogs and resource materials, it appeared that Trivy might suit our needs to implement a container security CI before publishing Docker images. In this regard, the Azure Container Scan was a good option, but its timeout failure while scanning large images was a serious blocker.
To tackle this, I looked into the official Trivy action and given the fact that it is open-source and fairly easy to set up, I have integrated it.
I would love to hear what others have to say about this proposed change!