Skip to content

Commit 14c09ca

Browse files
committed
dast scan with zap
1 parent 63e730d commit 14c09ca

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@ jobs:
9696
run: |
9797
docker compose up -d
9898
# Step 4: Start ZAP container and run scan
99-
- name: Run OWASP ZAP Baseline Scan
100-
run: |
101-
docker run --rm -u zap \
102-
--network="host" \
103-
-v $(pwd):/zap/wrk \
104-
ghcr.io/zaproxy/zaproxy:latest \
105-
zap-baseline.py -t http://localhost:8000 -r zap-report.html
99+
- name: Run OWASP ZAP Baseline Scan
100+
run: |
101+
docker run --rm -u zap \
102+
--network="host" \
103+
-v $(pwd):/zap/wrk \
104+
ghcr.io/zaproxy/zaproxy:latest \
105+
zap-baseline.py -t http://localhost:8000 -r zap-report.html
106106
107-
# Step 5: Upload ZAP Report
108-
- name: Upload ZAP Report
109-
uses: actions/upload-artifact@v3
110-
with:
111-
name: ZAP Report
112-
path: zap-report.html
107+
# Step 5: Upload ZAP Report
108+
- name: Upload ZAP Report
109+
uses: actions/upload-artifact@v3
110+
with:
111+
name: ZAP Report
112+
path: zap-report.html

0 commit comments

Comments
 (0)