gvm-tools icon indicating copy to clipboard operation
gvm-tools copied to clipboard

Add export-csv-report

Open doracpphp opened this issue 3 years ago • 1 comments

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

doracpphp avatar May 27 '22 16:05 doracpphp

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.

y0urself avatar May 28 '22 20:05 y0urself