Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
Zap scanner image fix (#1013)
Browse files Browse the repository at this point in the history
* Trying using another image for zap while figuring out error we're getting with github action

* Trying a different image
  • Loading branch information
basiliskus authored Apr 11, 2024
1 parent f946ec3 commit 636c960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: ./health-check.sh

- name: Run ZAP API Scan
run: docker run -v $(pwd):/zap/wrk/:rw --user root -t owasp/zap2docker-weekly zap-api-scan.py -t http://$(ip -f inet -o addr show docker0 | awk '{print $4}' | cut -d '/' -f 1):8080/openapi -f openapi -r api-scan-report.html
run: docker run -v $(pwd):/zap/wrk/:rw --user root -t ghcr.io/zaproxy/zaproxy:weekly zap-api-scan.py -t http://$(ip -f inet -o addr show docker0 | awk '{print $4}' | cut -d '/' -f 1):8080/openapi -f openapi -r api-scan-report.html

- name: Upload Report
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 636c960

Please sign in to comment.