nessrest icon indicating copy to clipboard operation
nessrest copied to clipboard

Customize CSV output

Open aabuhasna opened this issue 2 years ago • 0 comments

Hi,

I am trying to customize CSV output for the report, but it's not working event when I edit the payload for the CSV (in the code or the shared library)

payload = { "format": "csv", "reportContents": { "csvColumns": { "id": True, "cve": True, "cvss": True, "risk": True, "hostname": True, "protocol": True, "port": True, "plugin_name": False, "synopsis": False, "description": False, "solution": False, "see_also": False, "plugin_output": False, "stig_severity": False, "cvss3_base_score": False, "cvss_temporal_score": False, "cvss3_temporal_score": False, "risk_factor": False, "references": False, "plugin_information": False, "exploitable_with": False } }, "extraFilters": { "host_ids": [], "plugin_ids": [] }, "filter.0.quality": "eq", "filter.0.filter": "severity", "filter.0.value": 4 }

aabuhasna avatar Feb 14 '23 12:02 aabuhasna