Skip to content

Commit 1e86199

Browse files
committed
action stabilisation
1 parent 0b0dc8f commit 1e86199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/docker/scan-docker-repo/summarize.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo ""
99
echo "CVEs found:"
1010
cat "${report_file}" |
1111
jq -r '
12-
select(.Results[].Vulnerabilities) |
12+
select(.Results) | select(.Results[].Vulnerabilities) |
1313
[
1414
.ArtifactName,
1515
(
@@ -31,7 +31,7 @@ echo ""
3131
echo "Misconfigurations found: "
3232
cat "${report_file}" |
3333
jq -r '
34-
select(.Results | any(.Misconfigurations)) |
34+
select(.Results) | select(.Results | any(.Misconfigurations)) |
3535
[
3636
.ArtifactName,
3737
(

0 commit comments

Comments
 (0)