mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 02:45:06 +00:00
parent
f7a962fd11
commit
f98dcb46df
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ jobs:
|
|||
id: parse-results
|
||||
continue-on-error: true
|
||||
run: |
|
||||
VULNS=$(cat scan.json | jq '.Results[] | select(.Target=="ko-app/kyverno") | length')
|
||||
VULNS=$(cat scan.json | jq '.Results[] | select(.Target=="ko-app/kyverno").Vulnerabilities | length')
|
||||
if [[ $VULNS -eq 0 ]]
|
||||
then
|
||||
echo "No vulnerabilities found, halting"
|
||||
|
|
Loading…
Add table
Reference in a new issue