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

Only fail builds for high+ vulns #1517

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

skitt
Copy link
Member

@skitt skitt commented Mar 11, 2024

Since the vulnerability scan doesn't distinguish between vulnerabilities added by the PR and those coming from vulnerability updates, PRs are regularly blocked because of unrelated vulnerabilities. Arguably this is desirable for important vulnerabilities since it forces them to be handled; but other vulnerabilities shouldn't block PRs.

This changes the fail threshold to high, so that only vulnerabilities with severity high or critical will block the build.

Since the vulnerability scan doesn't distinguish between
vulnerabilities added by the PR and those coming from vulnerability
updates, PRs are regularly blocked because of unrelated
vulnerabilities. Arguably this is desirable for important
vulnerabilities since it forces them to be handled; but other
vulnerabilities shouldn't block PRs.

This changes the fail threshold to high, so that only vulnerabilities
with severity high or critical will block the build.

Signed-off-by: Stephen Kitt <[email protected]>
@skitt skitt added the backport label Mar 11, 2024
@skitt skitt marked this pull request as ready for review March 11, 2024 09:55
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1517/skitt/fail-on-high-vulns
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@tpantelis tpantelis enabled auto-merge (rebase) March 11, 2024 12:46
@submariner-bot
Copy link
Contributor

🤖 I had an issue pushing the updated branch: dial tcp: lookup github.com on 172.30.0.10:53: read udp 10.128.4.12:47556->172.30.0.10:53: i/o timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport backport-handled ready-to-test When a PR is ready for full E2E testing
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants