HTML report file format issue

230 views
Skip to first unread message

Jordan Ryan

unread,
Apr 2, 2023, 7:38:32 PM4/2/23
to OWASP ZAP User Group
I like the format of the HTMl file reports particularly the overview, however for some reason when i generate the report it generated with html javascript and css seperately in another folder, this means if try to send the HTML file on its own it will completely lose the format.

Am i missing something, is there anyway i can generate the HTML reports into one single file similar to what burpsuite does so i can send it as a single file without having to manually edit in tons of files?

thanks

Simon Bennetts

unread,
Apr 3, 2023, 4:45:15 AM4/3/23
to OWASP ZAP User Group
Yes, you can change the template to put everything in one HTML file :)
This will not require any coding skills, just HTML / JS / CSS knowledge and a bit of undertstanding of templating.

Feel free to contribute such a report back - we can explain how to do that.

Cheers,

Simon

Jordan Ryan

unread,
Apr 3, 2023, 5:18:31 AM4/3/23
to OWASP ZAP User Group
Hi Simon, thats great news could you please elaborate on how i can do this?

Simon Bennetts

unread,
Apr 3, 2023, 5:44:05 AM4/3/23
to OWASP ZAP User Group
The link above explains how to create new reports.

If you want to raise a PR you will need to test that the add-on includes you new report correctly.
The ZAP Developers Guide is on https://www.zaproxy.org/docs/developer/
This should not require any code changes, but if you are new to this feel free to ask more questions here :)

Cheers,

Simon

Jordan Ryan

unread,
Apr 3, 2023, 5:53:36 AM4/3/23
to OWASP ZAP User Group
Im very new to this and a bit lost, i already have the report generation add on and usually generate via the UI, so the information is a bit alien to me since it doesn't correlate with how i normally (or what i thought was normal) generate reports, could you give me a single html file report generation for dummies explanation please? :).
Reply all
Reply to author
Forward
0 new messages