liuch / dmarc-srg

A php parser, viewer and summary report generator for incoming DMARC reports.
GNU General Public License v3.0
213 stars 31 forks source link

Feature Request -- Export Summary Reports to CSV #118

Closed andrewhenke closed 4 months ago

andrewhenke commented 4 months ago

Hello!

Is it possible to add a new view method that allows us to view/download a CSV of the data? When I need to run reports, the 'raw' format is not proper markdown table format, and the data points are not delimited, so I cannot use the raw data directly in a report without having to manually format to CSV and then import to a spreadsheet -- I would greatly appreciate this functionality, as I use this system with over 40 domain names for numerous clients.

Thank you!

liuch commented 4 months ago

Hello! When you pick HTML format, in fact the server returns JSON data. Is JSON not suitable for you? If not, how should the data be presented in it, just line by line without any structure or formatting? It's not so difficult.

liuch commented 4 months ago

Done with https://github.com/liuch/dmarc-srg/commit/b91a9ee38810b5f0332f4e2efc2818b84fb78000

andrewhenke commented 4 months ago

This looks great, thank you so much! :)

liuch commented 4 months ago

You're welcome! I'm closing this then.