You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc45bf2
Browse filesBrowse the repository at this point in the historyBrowse files
# - extract numeric scores for CVSS types (cvss_v3 or numeric severity[].score)
48
+
# - compare to threshold
49
+
if echo "${RESULTS}" | jq '
50
+
.results[]
51
+
| .packages[]?
52
+
| .vulnerabilities[]?
53
+
| ( .severity[]?.score // "" ) as $s
54
+
| select($s != "")
55
+
| ($s | tonumber) >= 4.0
56
+
' | grep -q -e . ; then
57
+
>&2 echo "error: found one or more vulnerabilities with a medium or higher severity (see step 'scan > osv-scanner > Run osv-scanner-reporter' for details)"
0 commit comments