ZAP automation framework in linux

68 views
Skip to first unread message

Himanshu tyagi

unread,
Mar 22, 2024, 8:24:33 AM3/22/24
to ZAP User Group
Hi , 

I am using zap as cli for scans. Now i created a config.yaml file and want to use as automation framework. but i'm getting issues with it.

./zap.sh -cmd -autorun config.yaml

Automation plan failures:
        Missing environment: {0}
        No contexts defined

thc...@gmail.com

unread,
Mar 25, 2024, 3:16:15 AM3/25/24
to zaprox...@googlegroups.com
Hi,

Looks like you don't have the env object thus no contexts:
https://www.zaproxy.org/docs/desktop/addons/automation-framework/environment/



You need to define at least one context (which is usually your target).

Best regards.
Reply all
Reply to author
Forward
0 new messages