Skip to content

Commit 7d677a0

Browse files
committed
CCS-4 - zap scanning evidence 9
1 parent 740a732 commit 7d677a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/zap-evidence-example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
docker pull ghcr.io/zaproxy/zaproxy:stable
3939
# zap test the mock site https://www.example.com
4040
docker run -v /tmp:/zap/wrk/:rw -t ghcr.io/zaproxy/zaproxy:stable zap-full-scan.py -t https://www.example.com -J report_json.json || true
41-
echo "Zap completed"
41+
echo "Zap completed!"
4242
ls -ltr /tmp
4343
# create summary json
4444
cat /tmp/report_json.json | jq -r '.site[].alerts[].riskcode' | sort | uniq -c | awk '{print "{\"riskcode\":\"" $2 "\", \"count\":" $1 "},"}' | sed '$ s/,$//' | awk 'BEGIN {print "["} {print} END {print "]"}' > report_summary.json

0 commit comments

Comments
 (0)