Bug Description
When importing or re-importing the same OpenVAS scan (or scans containing the same vulnerability), some findings are not recognized as already existing in the same test.
When I import the attached openvas.csv file for the first time, it correctly creates a finding. However, when I re-import the same file, it creates a duplicate finding instead of recognizing that it already exists.
The re-import was tested both manually via the GUI and through an API call.
Steps to reproduce
- Create a new test and import the attached CSV file.
- Re-import the same CSV file into the same test.
- A second, duplicate finding is created.
Expected behaviour
The re-import should recognize existing findings based on the generated hash. This works for most findings, but not for all. An example of a finding that fails to be recognized is included in the attached CSV file.
Deployment method (select with an X)
Environment information
- Operating System: [Ubuntu 24.04.2]
- Docker Compose version v2.35.1
- DefectDojo Community v. 2.45.3
Sample scan files
openvas.csv
Screenshots
Uploaded scan twice

Additional context
These are the hash_codes it generated:
second import:
Hash_code changed from "None" to "b1dccf748cfd23192d684069f99a237f0ed9201cfda912c29c9ddb89d5678eab"
first import:
Hash_code changed from "None" to "b1dccf748cfd23192d684069f99a237f0ed9201cfda912c29c9ddb89d5678eab"
Bug Description
When importing or re-importing the same OpenVAS scan (or scans containing the same vulnerability), some findings are not recognized as already existing in the same test.
When I import the attached openvas.csv file for the first time, it correctly creates a finding. However, when I re-import the same file, it creates a duplicate finding instead of recognizing that it already exists.
The re-import was tested both manually via the GUI and through an API call.
Steps to reproduce
Expected behaviour
The re-import should recognize existing findings based on the generated hash. This works for most findings, but not for all. An example of a finding that fails to be recognized is included in the attached CSV file.
Deployment method (select with an
X)Environment information
Sample scan files
openvas.csv
Screenshots

Uploaded scan twice
Additional context
These are the hash_codes it generated:
second import:
Hash_code changed from "None" to "b1dccf748cfd23192d684069f99a237f0ed9201cfda912c29c9ddb89d5678eab"
first import:
Hash_code changed from "None" to "b1dccf748cfd23192d684069f99a237f0ed9201cfda912c29c9ddb89d5678eab"