I've been looking for some good example of how this pipeline would look like but couldn't find it. My current one is failing with:
Starting: owaspzap
Task : OWASP Zap Scanner
Description : Utilize the OWASP/ZAP scanner within Azure DevOps
Version : 1.0.1
Author : Doyle Turner, Anthony Turner
Help :
/usr/bin/bash /home/vsts/work/_tasks/owaspzap_866820e2-7f62-466f-94ec-afeeab860f89/1.0.1/localtarget.sh
172.17.0.1
/usr/bin/chmod 777 /home/vsts/work/1/s/owaspzap
/usr/bin/id -u root
0
/opt/hostedtoolcache/docker-stable/17.9.0-ce/x64/docker run -u 0 -v /home/vsts/work/1/s/owaspzap:/zap/wrk/:rw owasp/zap2docker-stable zap-baseline.py -t http://172.17.0.1:80 -J report.json -r report.html
Unable to find image 'owasp/zap2docker-stable:latest' locally
/opt/hostedtoolcache/docker-stable/17.9.0-ce/x64/docker: Error response from daemon: pull access denied for owasp/zap2docker-stable, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See '/opt/hostedtoolcache/docker-stable/17.9.0-ce/x64/docker run --help'.
[error]ENOENT: no such file or directory, open '/home/vsts/work/1/s/owaspzap/report.json'
Finishing: owaspzap
I'm not sure where to add that docker login. This is my 'yml' file:
Hi,
I've been looking for some good example of how this pipeline would look like but couldn't find it. My current one is failing with:
I'm not sure where to add that docker login. This is my 'yml' file: