ZAProxy is reachable from Botium or a running internal ZAProxy
-
This is how you would start ZAProxy in a docker-compose file:
zaproxy:
container_name: zap
image: owasp/zap2docker-stable:2.7.0
command: [
"zap.sh",
"-daemon",
"-host", "0.0.0.0", "-port", "8080",
"-config", "api.disablekey=true",
"-config", "api.addrs.addr.name=.*",
"-config", "api.addrs.addr.regex=true"
]
-
In Botium, the environment variable ZAP_ENDPOINT is set to the ZAProxy
endpoint. How to set environment variables depends on your installation -
ZAP_ENDPOINT="http://my-zap-server:8080"
-
Restart Botium.