Skip to content
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

Pass Rancher's VEX report to Trivy to remove known false-positives CVEs #10956

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

macedogm
Copy link
Member

Proposed Changes

This PR adds VEX scan in the Trivy check. VEX will remove known false-positive CVEs with Rancher's VEX Hub standalone report.

Types of Changes

Trivy workflow change.

Verification

Run the Trivy check in any PR and if there are known false-positives CVEs they will be listed in Trivy's Suppressed Vulnerabilities output.

Testing

Same as above.

Linked Issues

None.

User-Facing Change

None.


Further Comments

None.

@macedogm macedogm requested a review from a team as a code owner September 27, 2024 18:20
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.12%. Comparing base (cda31eb) to head (3306a0e).
Report is 5 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (cda31eb) and HEAD (3306a0e). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (cda31eb) HEAD (3306a0e)
e2etests 7 6
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10956      +/-   ##
==========================================
- Coverage   49.80%   44.12%   -5.68%     
==========================================
  Files         178      178              
  Lines       14801    14801              
==========================================
- Hits         7371     6531     -840     
- Misses       6084     7068     +984     
+ Partials     1346     1202     -144     
Flag Coverage Δ
e2etests 36.45% <ø> (-9.54%) ⬇️
inttests 36.73% <ø> (ø)
unittests 13.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cwayne18 cwayne18 merged commit 0553a1a into k3s-io:master Oct 1, 2024
29 checks passed
@macedogm macedogm deleted the trivy-vex branch October 1, 2024 21:38
ludost pushed a commit to asimovo-platform/k3s that referenced this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants