Hello,
I'm able to successfully invoke ZAP via automation framework using ZAP container on my k8s cluster, e.g.:
/zap/zap.sh -silent -cmd -autorun /zap/my-plan.yaml
Found Java version 11.0.22-internal
Available memory: 126773 MB
Using JVM args: -Xmx31693m
Defaulting ZAP install dir to /zap
Job authentication set method = script
...
However, from the same container, when I try to run zap-api-scan.py the scanner doesn't seem to be able to start, and I get no useful output. It dies so quickly, there's not even a zap.log created:
bash-5.2$ /zap/zap-api-scan.py -t /zap/config/api-docs.json -f openapi -d
2024-04-06 00:51:55,185 Trigger hook: cli_opts, args: 1
2024-04-06 00:51:55,185 Using port: 58475
2024-04-06 00:51:55,185 Trigger hook: start_zap, args: 2
2024-04-06 00:51:55,185 Starting ZAP
2024-04-06 00:51:55,186 Failed to start ZAP :(
How can I get more information about what is failing? Thanks in advance!
Best,
Brandon