I am un-able to generating .xml report when i am running zap docker command. Is their any way to generate .xml format report using zap docker. Here is my running zap docker command for .html format.
Somewhere i find, for xml we need to change only file format. Then i am using below command for xml format which is not working:
Please help me to generate .xml report file. |
> an email to zaproxy-users+unsubscribe@googlegroups.com
> <mailto:zaproxy-users+unsub...@googlegroups.com>.
docker run --rm -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-weekly zap-baseline.py -t http://www.example.com -g gen.conf -r zapxmlreport.xml
Kind regards
Ian
Also according to the info earlier in this thread: -x is for xml output though you've used -r then specified an xml file name...
Ians-MBP:auto-donor-index iantravell$ docker run --rm -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-weekly zap-baseline.py -t http://localhost:8080 -g gen.conf -r zaphtmlreport.html
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
Apr 27, 2017 1:34:06 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
ERROR Failed to connect
2017-04-27 13:34:14,500 I/O error(5): Failed to connect
Traceback (most recent call last):
File "/zap/zap-baseline.py", line 406, in main
raise IOError(5, 'Failed to connect')
IOError: [Errno 5] Failed to connect
Found Java version 1.8.0_121
Available memory: 1999 MB