How do you read a ZAP report?
BeginnerHands-onOWASP ZAP
Answer
Short answer
Each alert has a risk level (High, Medium, Low, Informational), a confidence, the affected URLs and parameters, the evidence ZAP saw, a description, a solution and references (CWE, OWASP). Start with High/Medium risk + High/Medium confidence, confirm the evidence, then fix or mark as false positive.
Example alert
Alert: Content Security Policy (CSP) Header Not Set [Medium risk, High confidence]
URL: https://staging.shop.example.com/checkout
Evidence: (response has no Content-Security-Policy header)
Solution: Configure the web server to return a Content-Security-Policy header.
CWE: 693 WASC: 15 Plugin ID: 10038
Typical alerts and fixes
| Alert | Fix (often at Ingress/Nginx level) |
|---|---|
| CSP header not set | Add Content-Security-Policy |
| Missing anti-clickjacking header | X-Frame-Options: DENY or CSP frame-ancestors |
| Strict-Transport-Security not set | Strict-Transport-Security: max-age=31536000; includeSubDomains |
| Cookie without Secure / HttpOnly / SameSite | Set flags in the app/framework |
Server leaks version (Server: nginx/1.18) |
server_tokens off; |
| X-Content-Type-Options missing | X-Content-Type-Options: nosniff |
What to say in the interview
"I triage by risk and confidence, verify the evidence and affected URLs, then apply the suggested solution — many baseline findings are headers and cookie flags fixed centrally in the Ingress or framework config. False positives get set to IGNORE in the rules file with a comment."
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 add ZAP to a CI/CD pipeline?Intermediate