Reports generated through gvm-cli should contain all NVT tags, qod_type and scan_nvt_version.
Current behavior
Only cvss_base_vector, solution and solution_type tags are included in report, qod_type and scan_nvt_version are empty.
Single result for NVT with oid 1.3.6.1.4.1.25623.1.0.812072 from generated report: Gist.
I tested it with XML, ARF and PDF formats, same results.
Same result from the report that was generated using the older version (OpenVAS 9): Gist.
Record for this NVT in nvts table - data for those tags is present:
Records in results table - nvt_version and qod_type are empty for all rows:
Steps to reproduce
Create a new target (vulnerable host), create and start a new task.
Wait for the scan to finish.
Generate a report using gvm-cli with report_id parsed from get_tasks output and any format_id:
su - service -c "gvm-cli --gmp-username admin --gmp-password admin socket --xml '<get_reports report_id=\"{}\" format_id=\"{}\" filter=\"levels=hmlg\" details=\"1\" notes_details=\"1\" result_tags=\"1\" ignore_pagination=\"1\"/>'"
GVM versions
gsa: Not used
gvm: 9.0.0
openvas-scanner: 7.0.0
gvm-libs: 11.0.0
openvas-smb: 1.0.5
Expected behavior
Reports generated through gvm-cli should contain all NVT tags, qod_type and scan_nvt_version.
Current behavior
Only cvss_base_vector, solution and solution_type tags are included in report, qod_type and scan_nvt_version are empty. Single result for NVT with oid 1.3.6.1.4.1.25623.1.0.812072 from generated report: Gist. I tested it with XML, ARF and PDF formats, same results.
Same result from the report that was generated using the older version (OpenVAS 9): Gist.
Record for this NVT in nvts table - data for those tags is present:
Records in results table - nvt_version and qod_type are empty for all rows:
Steps to reproduce
GVM versions
gsa: Not used gvm: 9.0.0 openvas-scanner: 7.0.0 gvm-libs: 11.0.0 openvas-smb: 1.0.5
Environment
Operating system: Debian 10 (Docker)
Installation method / source: Built from sources from the latest releases.
Logfiles
openvas.log gvmd.log