Skip to content

Instantly share code, notes, and snippets.

@stephendonner
Created May 4, 2016 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephendonner/2db28d329ab2baeec27f1049455d7bfc to your computer and use it in GitHub Desktop.
Save stephendonner/2db28d329ab2baeec27f1049455d7bfc to your computer and use it in GitHub Desktop.
This is just a working pastebin for what will become, hopefully, a bonafide docker-compose.yml file for ZAP-CLI
# this will all go in a docker-compose.yml file
# XXX WRITE COPIOUS COMMENTS
docker run -u zap -p 8080:8080 -d owasp/zap2docker-stable zap.sh -daemon -port 8080 -host 0.0.0.0 -config api.disablekey=true
# XXX TODO: dynamically find the container id (using @m8ttyb's
docker exec ac68d9afcfad28123720080418cb3370dca03ee52252315e4d21227777eefd04 zap-cli open-url 'https://www.allizom.org'
# XXX TODO: beef up/flesh out the active-scan options we're passing in
docker exec trusting_bhabha zap-cli active-scan 'https://www.allizom.org'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment