Skip to content

Commit

Permalink
CCS-4 - zap scanning evidence 9
Browse files Browse the repository at this point in the history
  • Loading branch information
carmithersh committed Feb 5, 2025
1 parent 740a732 commit 7d677a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/zap-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
docker pull ghcr.io/zaproxy/zaproxy:stable
# zap test the mock site https://www.example.com
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
echo "Zap completed"
echo "Zap completed!"
ls -ltr /tmp
# create summary json
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
Expand Down

0 comments on commit 7d677a0

Please sign in to comment.