Created
April 26, 2018 07:42
-
-
Save omerlh/c84780805f0c2cd515212ffa69c05317 to your computer and use it in GitHub Desktop.
Zap's scripting 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM owasp/zap2docker-bare | |
LABEL maintainer="omerlh@gmail.com" | |
ENV ZAP_DIR=/home/zap/.ZAP | |
RUN zap.sh -cmd -addonupdate -addoninstall pscanrulesAlpha -addoninstall pscanrulesBeta -addoninstall pscanrules | |
COPY scripts /home/zap/scripts/ | |
COPY config.xml $ZAP_DIR/ | |
USER root | |
RUN chown zap $ZAP_DIR/config.xml && chgrp zap $ZAP_DIR/config.xml | |
USER zap | |
CMD zap.sh -daemon -dir $ZAP_DIR -host 0.0.0.0 -port 8090 -config api.disablekey=true -config database.recoverylog=false -config connection.timeoutInSecs=120 -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment