zap-baseline.py scan with user and context

173 views
Skip to first unread message

lulu omar

unread,
Oct 27, 2021, 8:45:58 AM10/27/21
to OWASP ZAP User Group
Hello everyone , I am using zap docker image to run an zap-baseline scan and I already configured a user in the context file and add it to the container but when I run this " ./zap-baseline.py  -t http://*******/login  -U admin  -n context.context" , it refused to do the scanning and this is the logs:  org.zaproxy.zap.extension.api.API - Bad request to API endpoint [/JSON/spider/action/scanAsUser/] from [127.0.0.1]:
org.zaproxy.zap.extension.api.ApiException: missing_parameter


 
?can anyone helps me with this issues please 


Simon Bennetts

unread,
Oct 29, 2021, 6:17:29 AM10/29/21
to OWASP ZAP User Group
To get this you may need to start a bash shell in the docker image and then run the baseline scan from there.

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages