--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/f353f08d-0d38-4b29-b546-8550a55e8cff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you use 'file' params then you need to mount the directory those file are in or will be generated in, eg
docker run -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-stable zap-baseline.py \
-t https://www.example.com -g gen.conf -r testreport.html
INFO org.zaproxy.zap.DaemonBootstrap - ZAP is now listening on 0.0.0.0:55458 12:13:42 6568 [ZAP-Import-OpenAPI-1] WARN org.zaproxy.zap.extension.openapi.ExtensionOpenApi - attribute paths.'/api/get-invoice-details'(post).[body].type is unexpected 12:13:42 6579 [ZAP-ProxyThread-8] WARN org.zaproxy.zap.extension.api.API - Bad request to API endpoint [/JSON/ascan/action/scan/] from [0:0:0:0:0:0:0:1]: 12:13:42 Does Not Exist (does_not_exist) : scanPolicyName 12:13:42 at org.zaproxy.zap.extension.ascan.ActiveScanAPI.handleApiAction(ActiveScanAPI.java:280) 12:13:42 at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:441) 12:13:42 at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:456) 12:13:42 at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:318) 12:13:42 at java.lang.Thread.run(Thread.java:748) 12:13:42 11590 [ZAP-ProxyThread-9] WARN org.zaproxy.zap.extension.api.API - Bad request to API endpoint [/JSON/ascan/view/status/] from [0:0:0:0:0:0:0:1]: 12:13:42 Does Not Exist (does_not_exist) : scanId 12:13:42 at org.zaproxy.zap.extension.ascan.ActiveScanAPI.getActiveScan(ActiveScanAPI.java:651) 12:13:42 at org.zaproxy.zap.extension.ascan.ActiveScanAPI.handleApiView(ActiveScanAPI.java:824) 12:13:42 at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:459) 12:13:42 at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:456) 12:13:42 at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:318) 12:13:42 at java.lang.Thread.run(Thread.java:748)
I am not getting any error when i run the same docker command in my local. Can you please help here