can't generate HTML report

43 views
Skip to first unread message

Pietro Mocali

unread,
Jul 30, 2025, 11:37:11 AMJul 30
to ZAP User Group
Hello everybody,
I'm using owasp zap in my CI/CD gitlab pipeline. I run a baseline scan using this command:
- docker run --rm -v "$CI_PROJECT_DIR:/zap/wrk/:rw" -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t http://my-app-url -r testreport.html.
The job output shows that the scan takes place and works, but I can't get the HTMLreport as an artifact at the end, even though I put it in the script. I should also mention that i'm using docker dind to run the app to scansion and to pull the latest owasp image every time i start a new scansion. do you know what am I doing wrong? Sorry for the shaky English btw, I'm Italian.
Thanks,
Pietro

Simon Bennetts

unread,
Jul 30, 2025, 12:37:42 PMJul 30
to ZAP User Group
Hiya Pietro,

99% of the time this problem is due to file permissions - docker can be a real pain like that.

Oh, and ZAP has not been an OWASP project for 2 years ;)

Cheers,

Simon

Pietro Mocali

unread,
Jul 30, 2025, 12:41:00 PMJul 30
to zaprox...@googlegroups.com
Thank you soooooo much Simon, 
and please forgive my abissal ignorance :))
Have a great one! 
Much love,
Pietro 

--
ZAP by Checkmarx: https://www.zaproxy.org/
---
You received this message because you are subscribed to a topic in the Google Groups "ZAP User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/zaproxy-users/i7tS5Hi0LVk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to zaproxy-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/zaproxy-users/db6ae69e-7bb6-4116-aa93-10871bdfbc6dn%40googlegroups.com.

Simon Bennetts

unread,
Jul 31, 2025, 8:59:17 AMJul 31
to ZAP User Group
No problem!
Reply all
Reply to author
Forward
0 new messages