For more information about StackHawk see https://www.stackhawk.com
- Create an application on the StackHawk Web platform.
- Clone this repo or copy the
stackhawk-basic.yml
orstackhawk-default.yml
configuration file and place in the root of your project directory.
HawkScan uses a YAML configuration file to supply operational settings to the scanner. To get started:
- Place the appropriate
stackhawk.yml
file in the root of your project directory. - Udpate your
applicationId
andenv
with the values from the StackHawk Platform. - Update the
host
field with the url of your running web app (example: http://localhost:3000)
For more help configuring Hawkscan, see our Documentation.
docker run --rm -v $(pwd):/hawk:rw -e API_KEY=hawk.xxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxx -t stackhawk/hawkscan:latest stackhawk-basic.yml
docker run --rm -v %cd%:/hawk -e API_KEY=hawk.xxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxx -t stackhawk/hawkscan:latest stackhawk-basic.yml
docker run --rm -v ${PWD}:/hawk -e API_KEY=hawk.xxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxx -t stackhawk/hawkscan:latest stackhawk-basic.yml
docker run --rm -v $(pwd):/hawk:rw -network host -e API_KEY=hawk.xxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxx -t stackhawk/hawkscan:latest stackhawk-basic.yml