Run /usr/bin/docker pull owasp/zap2docker-stable -q
/usr/bin/docker pull owasp/zap2docker-stable -q
/usr/bin/docker run --network=host -e ZAP_AUTH_HEADER -e ZAP_AUTH_HEADER_VALUE -e ZAP_AUTH_HEADER_SITE -t owasp/zap2docker-stable zap-api-scan.py -t https://vampi01-docs.blackfox-security.com/openapi3.json -f openapi -J report_json.json -w report_md.md -r report_html.html
cp ./report_html.html ./reports/api/report-zap-vampi01-docs.blackfox-security.comopenapi3.json-28-06-2023T08-44-38-UTC-1687941878.html
cp ./report_json.json ./reports/api/report-zap-vampi01-docs.blackfox-security.comopenapi3.json-28-06-2023T08-44-38-UTC-1687941878.json
shell: /bin/bash -e {0}
env:
START_DATE: 28-06-2023T08-44-38-UTC
START_TIMESTAMP: 1687941878
TARGET: https://vampi01-docs.blackfox-security.com/openapi3.json
TARGET_SAFE: vampi01-docs.blackfox-security.comopenapi3.json
REPORT_DIR: /home/runner/_work/xxVigilis/reports/api
docker.io/owasp/zap2docker-stable:latest
2023-06-28 08:44:40,860 A file based option has been specified but the directory '/zap/wrk' is not mounted
Usage: zap-api-scan.py -t
For more details see https://www.zaproxy.org/docs/docker/api-scan/ Error: Process completed with exit code 3.