How would you build a DAST program for a company with many web apps and APIs?
AdvancedProductionOWASP ZAP
Answer
Short answer
Maintain an inventory of apps and APIs, provide standard ZAP automation (shared pipeline templates and Automation Framework plans), run baseline scans on every staging deploy and authenticated full/API scans on a schedule in isolated environments, centralise results, triage with SLAs, and combine DAST with SAST, SCA and periodic manual penetration tests.
Design
| Area | Choice |
|---|---|
| Inventory | Every app/API registered with owner, URL per environment, OpenAPI spec |
| Tooling | ZAP Docker + Automation Framework plans per app in its repo |
| Cadence | Baseline per deploy; authenticated full/API scans nightly or weekly |
| Environments | Dedicated test env with seeded data and test users; never active-scan prod |
| Secrets | Test credentials in the CI secret store; rotated |
| Results | Reports archived; findings pushed to DefectDojo / Jira with owners |
| Policy | Fail on agreed high-risk rules; SLAs (High: 30 days, Medium: 90) |
| Complement | SAST + SCA in PRs; annual or major-release manual pentests; bug bounty for external apps |
What to say in the interview
"An inventory with owners and API specs, shared ZAP automation plans, baseline scans on every staging deployment and authenticated full and API scans on a schedule in an isolated environment, results centralised in something like DefectDojo with SLAs, and DAST combined with SAST, SCA and manual pentests."
More on OWASP ZAP
What is OWASP ZAP and how do you run a DAST scan?BeginnerWhat is the difference between SAST and DAST?BeginnerWhat is OWASP ZAP?BeginnerWhat is the difference between a ZAP baseline scan and a full scan?BeginnerHow do you run a ZAP baseline scan with Docker?BeginnerHow do you read a ZAP report?Beginner