What is OWASP ZAP and what are its scan modes?
BeginnerConceptApplication Security Testing (SAST, DAST, SCA, Secrets)
Answer
ZAP is an open-source DAST proxy and scanner. Modes in CI: baseline (spider plus passive checks only, safe for most environments), full scan (spider plus active attacks, only against disposable environments), and API scan (imports OpenAPI, GraphQL or SOAP definitions).
docker run --rm -v $(pwd):/zap/wrk -t ghcr.io/zaproxy/zaproxy:stable \
zap-baseline.py -t https://staging.example.com -r zap-report.html
More on Application Security Testing (SAST, DAST, SCA, Secrets)
What is SAST and what are its strengths and limits?BeginnerWhat is DAST and how does it differ from SAST?BeginnerWhat is IAST and RASP?IntermediateWhat is SCA and what does it scan?BeginnerHow does a SAST tool find a SQL injection using taint analysis?AdvancedHow do you write a simple Semgrep rule?Intermediate