An AppSec engineer wants to run OWASP ZAP full scans against production nightly. Do you agree?
IntermediateScenarioVulnerability Management and OWASP
Answer
Situation read → Active scans submit forms and fuzz inputs. In production they can create junk data, send emails and trigger alerts.
What I'd do →
- Run full active scans in a production-like staging environment with seeded test data.
- In production, run only the passive baseline scan, which does not attack:
docker run --rm -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t https://app.example.com -r report.html - Whitelist the scanner's IP with the WAF and SOC so alerts are expected.
- Use authenticated scans in staging to cover pages behind login.
Why → Production safety beats coverage; staging scans find the same code bugs.
Interview tip → Know the difference between zap-baseline.py and zap-full-scan.py.
More on Vulnerability Management and OWASP
A pentest report shows SQL injection in a search endpoint of a Java service. How do you handle it end to end?BeginnerA scanner reports 4,000 open CVEs across 300 images. The team can fix maybe 100 a month. How do you prioritise?IntermediateA user reports they can see another customer's invoice by changing the ID in the URL. What do you do?BeginnerA webhook feature lets users enter a URL, and a pentester used it to read the cloud metadata endpoint. How do you fix it?AdvancedA team still runs Log4j 2.14 in an internal service and says it is not internet-facing. How do you respond?IntermediateA security review finds passwords stored as unsalted MD5 hashes. How do you migrate without forcing every user to reset?Advanced