09:53:06 5452 [ZAP-daemon] ERROR org.zaproxy.zap.DaemonBootstrap - Unsupported option '-importContext'.; 09:53:06 java.lang.Exception: Unsupported option '-importContext'.; 09:53:06 at org.parosproxy.paros.CommandLine.parse(Unknown Source) 09:53:06 at org.parosproxy.paros.extension.ExtensionLoader.hookCommandLineListener(Unknown Source) 09:53:06 at org.zaproxy.zap.DaemonBootstrap$1.run(Un
/home/jenkins/tools/zaproxy/2.4.3/zap.sh -daemon -host localhost -port 8082 -config api.key=ZAPROXY-PLUGIN -dir /home/jenkins/workspace/ZAP_PROXY -importContext "/home/jenkins/workspace/ZAP_PROXY/contexts/customCtxt.context"
I am asking this question because i am using the jenkins plugin ZAProxy and the plugin produces this command when i provide to him a new commande option importContext with the value "/home/jenkins/workspace/ZAP_PROXY/contexts/customCtxt.context"..
P.S: sorry my english is not good at all, but i do my best :(
Hi.
In daemon mode you can import a context using the ZAP API. [1]
More details in:
https://github.com/zaproxy/zaproxy/wiki/ApiGen_context
[1] https://github.com/zaproxy/zap-core-help/wiki/HelpStartConceptsApi
Best regards.
On 25/08/16 09:21, Kha Za wrote:
> I am using ZAProxy_2.4.3
>
> --
> 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-users+unsubscribe@googlegroups.com
> <mailto:zaproxy-users+unsub...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/zaproxy-users/42ad85c8-1e0d-4477-ad73-b3d22bb01687%40googlegroups.com
> <https://groups.google.com/d/msgid/zaproxy-users/42ad85c8-1e0d-4477-ad73-b3d22bb01687%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/zaproxy-users/7GFGLJNxM-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to zaproxy-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/2093017c-25ed-29d6-1395-e32b25d4489e%40gmail.com.
For more options, visit https://groups.google.com/d/optout.