gvm-tools
gvm-tools copied to clipboard
Add export-csv-report
What:
I would like to add the ability to export CSV reports.
Why:
I want to sort and filter by multiple IP addresses, ports, etc. in Excel. Automation Purpose
How: Test with the following commands
gvm-script socket --socketpath /var/run/gvmd/gvmd.sock scripts/export-csv-report.gmp.py 49be6651-a7a7-47ae-9283-dbe937de5755 /tmp/output.csv
Confirmed created in /tmp/output.csv
Checklist:
- [x] Tests
- [ ] CHANGELOG Entry
- [ ] Documentation
I think it would be awesome to reuse the pdf report exporter to a generic one, where you can choose the desired export format instead of duplicating the code here.