You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The weekly ZAP DAST scan (.github/workflows/dast.yml) needs tuning. Issue #760 keeps getting updated with noise because the rules file doesn't suppress all triaged alerts, and the scan only covers unauthenticated endpoints.
Summary
The weekly ZAP DAST scan (
.github/workflows/dast.yml) needs tuning. Issue #760 keeps getting updated with noise because the rules file doesn't suppress all triaged alerts, and the scan only covers unauthenticated endpoints.Changes
1. Fix issue noise (closes #760)
2. Add JWT authentication
ZAP_AUTH_HEADER/ZAP_AUTH_HEADER_VALUE/ZAP_AUTH_HEADER_SITEenv vars3. Performance and timeout controls
-T 20-- cap ZAP startup + passive scan at 20 minscanner.threadPerHost=5-- faster on localhostscanner.maxRuleDurationInMins=5-- no single rule dominatesscanner.maxScanDurationInMins=30-- hard cap on active scan4. Report artifacts
-J report.json-- machine-parseable output-r report.html-- rich human-readable report5. Promote critical rules to FAIL
fail_action: true6. Close #760
Once the rules are updated, the ZAP action will auto-close #760 on the next run.