I have created a Zap container (inside docker) using the command
docker run -u zap -p 8080:8080 -i owasp/zap2docker-stable zap-x.sh -daemon -host 0.0.0.0 -port 8080 -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true -config api.key=
With the proper api key. The containet is up and ok.
I made my native application, that is running on docker too, to proxy all the html communication through the Zap container. My aim is that Zap passively analysis all the trafic for security issues.
The question is how can i retrive the data of the passive scanner from this ZAP container without using the UI? What is the command to generate the report for the passive results?