curl --socks5-hostname 127.0.0.1:9001 https://9.x.x.x/ --insecure
And if i use ZAP UI, i set these values as mentioned in the attachment.
Now, I am planning to add it in automation, Could someone help me how can i pass these if i use zap docker. Tried below command but not working
sudo docker run -v "${WORKSPACE}/zap":/zap/wrk/:rw -t owasp/zap2docker-stable bash -c "zap.sh -cmd -autorun /zap/wrk/s-zap-automation.yaml -config network.connection.socksProxy.host=127.0.0.1 -config network.connection.socksProxy.port=9897"