Interview Prep/DevSecOps/DAST, runtime detection and compliance scans

The DAST job reports nothing, and its log shows mostly `403` and `429` responses

BeginnerTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → The WAF, CDN bot protection or app rate limiter is blocking the scanner, so it is testing block pages instead of your app.

Diagnose → grep -c ' 403 \| 429 ' zap.log, and check the WAF logs for the scanner's source IP.

Fix → In staging, allowlist the scanner's egress IP or a secret header in the WAF, or scan the origin directly from inside the VPC. Throttle the scanner (-z "-config scanner.threadPerHost=2").

Prevent → Run DAST against an environment with the same app config as prod but with a known WAF bypass for the scanner. Test the WAF separately.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans