Bug description
When we import the same Greenbone / OpenVAS scan into DefectDojo we get inconsistent results and not all information is transferred from the scan results:
- XML vs CSV – importing the identical report in XML format vs CSV produces a different set / count of findings.
- Re-import of the exact same file – clicking Re-import on an unchanged scan again changes the finding list: some previously-created findings are closed, new ones are created, and several remain “untouched.” The net effect is an ever-growing total count without any real changes in the source data (see attached screenshot).
Question: Is this a known issue with the OpenVAS parser or the deduplication logic?
Steps to reproduce
- In DefectDojo, create a Test and Import Scan → Greenbone / OpenVAS → upload
scan.xml.
- Note the IDs and total number of findings created.
- In the same Test, Import Scan again but upload the corresponding
scan.csv generated from the same Greenbone scan.
- Compare findings: counts and IDs differ.
- Click Re-import for each of the above uploads; observe that findings are closed/created unexpectedly and overall totals rise.
Expected behaviour
- XML and CSV imports of the same OpenVAS report should produce identical findings (or at least map deterministically one-to-one).
- Re-importing an unchanged file should result in zero modifications—no new findings, no closures.
Deployment method
Environment information
Newest DefectDojo OS Version
Screenshots
Sample scan files
I can supply the exact scan.xml and scan.csv that trigger the issue after redacting confidential data (company-specific hostnames, IPs, etc.). Let me know if sanitized samples would help.
Additional context
We rely on re-import in CI pipelines; the ever-increasing finding count breaks downstream metrics and dashboards. Happy to enable debug logging or test any patches you suggest.
Bug description
When we import the same Greenbone / OpenVAS scan into DefectDojo we get inconsistent results and not all information is transferred from the scan results:
Question: Is this a known issue with the OpenVAS parser or the deduplication logic?
Steps to reproduce
scan.xml.scan.csvgenerated from the same Greenbone scan.Expected behaviour
Deployment method
Environment information
Newest DefectDojo OS Version
Screenshots
Sample scan files
I can supply the exact
scan.xmlandscan.csvthat trigger the issue after redacting confidential data (company-specific hostnames, IPs, etc.). Let me know if sanitized samples would help.Additional context
We rely on re-import in CI pipelines; the ever-increasing finding count breaks downstream metrics and dashboards. Happy to enable debug logging or test any patches you suggest.