fix: trivy vex issue#1286
Merged
Merged
Conversation
Signed-off-by: pohanhuang <pohan.huang@suse.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the Trivy scanning GitHub Actions workflow to avoid breakage caused by a previously broken VEX file download endpoint, switching to fetching the VEX report from GitHub-hosted LFS content and wiring it into Trivy.
Changes:
- Update workflow triggers/runner and bump pinned GitHub Action revisions (checkout v4, upload-sarif v3).
- Add a step to download Rancher’s VEX Hub report and configure Trivy to consume it via
TRIVY_VEX. - Enable showing suppressed findings via
TRIVY_SHOW_SUPPRESSED.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| build: | ||
| name: Build | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-latest |
Comment on lines
+19
to
+21
| curl -fsSL -H "Accept: application/vnd.git-lfs+json" \ | ||
| "https://media.githubusercontent.com/media/rancher/vexhub/main/reports/rancher.openvex.json" \ | ||
| -o rancher.openvex.json |
wheatdog
previously approved these changes
May 28, 2026
Signed-off-by: pohanhuang <pohan.huang@suse.com>
Contributor
Author
|
@mergify backport v1.8 v1.7 |
Contributor
✅ Backports have been createdDetails
|
Vicente-Cheng
approved these changes
May 28, 2026
This was referenced May 28, 2026
Vicente-Cheng
pushed a commit
that referenced
this pull request
Jun 1, 2026
* fix: trivy vex issue Signed-off-by: pohanhuang <pohan.huang@suse.com> * fix: rollback to v** Signed-off-by: pohanhuang <pohan.huang@suse.com> --------- Signed-off-by: pohanhuang <pohan.huang@suse.com> (cherry picked from commit 83e0a2e)
Vicente-Cheng
pushed a commit
that referenced
this pull request
Jun 1, 2026
* fix: trivy vex issue Signed-off-by: pohanhuang <pohan.huang@suse.com> * fix: rollback to v** Signed-off-by: pohanhuang <pohan.huang@suse.com> --------- Signed-off-by: pohanhuang <pohan.huang@suse.com> (cherry picked from commit 83e0a2e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem:
Solution:
Related Issue(s):
Test plan:
Additional documentation or context