forked from 0xWheatyz/SPARC
Export analysis reports as PDF or CSV from the dashboard #1437
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Users cannot currently export analysis results. A download button for PDF or CSV would make reports shareable and archivable.
What to do
GET /analysis/{id}/export?format=pdf|csv).reportlaborweasyprintto render a formatted report.Acceptance criteria
References
Roadmap: P3 -- export analysis reports.
Already implemented.
SPARC/api.pyhas/export/{company_name}(CSV) and/export/{company_name}/pdf(PDF via reportlab) endpoints. Both query analysis results from the database and return downloadable files with proper Content-Disposition headers.Closing as completed.