-
Notifications
You must be signed in to change notification settings - Fork 5.9k
feat(ci): add trivy job for security #3261
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work Joe! ❤️
ed2f27a
to
281f0b5
Compare
Codecov Report
@@ Coverage Diff @@
## main #3261 +/- ##
==========================================
- Coverage 51.02% 46.90% -4.13%
==========================================
Files 23 23
Lines 1266 1196 -70
Branches 286 237 -49
==========================================
- Hits 646 561 -85
+ Misses 498 451 -47
- Partials 122 184 +62
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just some minor thoughts for your consideration
281f0b5
to
44a9534
Compare
9d2290c
to
8402786
Compare
Hmm time to figure out why this failed 🤔 link to line in logs |
ba9e4d3
to
7cc821e
Compare
Turns out the |
Okay I finally got it all working thanks to help from @code-asher 🎉 Though it says no vulnerabilities were found 🤔 |
Thought maybe the findings were not new? https://github.com/cdr/code-server/pull/3261/checks?check_run_id=2496406312 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff! It looks so easy when it's done :)
😂 I know right? With Asher's help, it was a lot easier. |
This adds both a trivy scan for the repo and a trivy scan for our Docker image.
Note: for the trivy-action version I went with the commit SHA.
|
This PR adds a new job to our CI called
trivy
which usestrivy-action
to scan our code and upload the Trivy scan results to the GitHub Security tab.Fixes #3177