Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to ZIP the report for download through the API #7821

Open
thc202 opened this issue Apr 10, 2023 · 4 comments
Open

Allow to ZIP the report for download through the API #7821

thc202 opened this issue Apr 10, 2023 · 4 comments
Assignees
Labels
add-on enhancement in:reports Issues pertaining to Report Generation add-on.

Comments

@thc202
Copy link
Member

thc202 commented Apr 10, 2023

The current API endpoint generates the report to the local file system and it's not possible (through ZAP) to get/download it.
https://www.zaproxy.org/docs/desktop/addons/report-generation/api/

Ideally there should be an endpoint that allows to get/download the whole report (e.g. zip file containing all the necessary files) rather than just generate it locally.

From OWASP ZAP User Group:

Add-on:
Report Generation

@thc202 thc202 added enhancement add-on in:reports Issues pertaining to Report Generation add-on. labels Apr 10, 2023
@kingthorin
Copy link
Member

I might try to tackle this. I have no time line, if you haven't seen a PR linked shortly feel free to tackle it 😉

@kingthorin kingthorin self-assigned this May 31, 2023
@arunsk7891
Copy link

Hi Team ,
Thanks for the great work - would be interested to know if there was an update made to get the generated report in pdf format to the client system ? Also I'm a bit confused - so I get a scan ID for the current spider scan i performed.
I want a report for this latest scan - do I just blindly give the Site address to the report api and it gets the latest report ?
Requesting to please guide .

@kingthorin
Copy link
Member

kingthorin commented Aug 4, 2023

I’m working on the download reports API bit.

As for the usage question that’s likely better tackled in the ZAP User Group.

@psiinon psiinon mentioned this issue Aug 11, 2023
11 tasks
@thc202 thc202 changed the title Provide API endpoint to get/download the report Allow to ZIP the report for download through the API Aug 15, 2023
@thc202
Copy link
Member Author

thc202 commented Aug 15, 2023

Title updated to match the latest changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-on enhancement in:reports Issues pertaining to Report Generation add-on.
Development

No branches or pull requests

3 participants