我想在gitlab cicd上做一个zap全面扫描,并对我想运行的网站进行身份验证(没有来自gitlab的DAST模块)
我可以正确地运行zap全扫描. to,但不知道如何为站点添加身份验证凭据。
stages:
- scan
dast:
stage: scan
image:
name: owasp/zap2docker-weekly
before_script:
- mkdir -p /zap/wrk
script:
- pwd
- ls
- zap-full-scan.py -t "http://example.com" -m 1 -d -I -r testreport.html
- cp /zap/wrk/testreport.html testreport.html
artifacts:
when: always
paths:
- testreport.htmlhttps://stackoverflow.com/questions/72310205
复制相似问题