Skip to content

Commit

Permalink
update snyk-filter;
Browse files Browse the repository at this point in the history
  • Loading branch information
iuriikogan committed Sep 24, 2024
1 parent 5920bb5 commit 79b7b10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .snyk-filter/snyk.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 2
customFilters:
filter: ".vulnerabilities |= map(if .isUpgradable == true and .severity != \"low\" then . else empty end)"
pass: "[.vulnerabilities[] | select(.severity != \"low\" and .isUpgradable == true)] | length"
msg: "Medium or above severity & upgradeable vulns found. Please review upgrade steps"
filter: ".vulnerabilities |= map(if .cvssScore >= 9 then . else empty end)"
pass: "[.vulnerabilities[] | select(.cvssScore >= 9)] | length"
msg: "Vulnerabilities with CVSS Score of 9+ found"

0 comments on commit 79b7b10

Please sign in to comment.