I have a command for zap-api-scan.py
, but unlike zap-full-scan.py
, there seems to be no way to limit these.
via OWASP's official docker image:
docker run -v $(pwd):/zap/wrk/:rw \
-t owasp/zap2docker-stable zap-api-scan.py \
-t http://my-tld/api/graphql
-f graphql --schema schema.graphql
via ICTU's docker iamge:
docker run --rm -v $(pwd):/zap/wrk/:rw \
-t ictu/zap2docker-weekly zap-api-scan.py \
-t https://myapp.tld.com/api/graphql -f graphql \
-r testreport.html --hook=/zap/auth_hook.py --schema schema.graphql \
-z "auth.bearer_token=myapikey" \
-d -I
Do I have any options, whether it be through owasp/zap2docker-stable
or ictu/zap2docker-weekly
or through
Are there any config variables I can pass to zap-api-scan.py
to limit the depth or run duration?
Note: This is for the zap-api-scan.py
CLI script only.