Description
Is your feature request related to a problem? Please describe
We would like to have a feature for deduplication of existing vulnerabilities. For instance, in the System Settings, the "Deduplicate Findings" feature was initially disabled, and I uploaded test reports to DefectDojo. Later, the "Deduplicate Findings" setting was enabled. While the deduplication mechanism works for new reports, existing reports containing duplicates cannot be reprocessed.
Describe the solution you'd like
As a user, I want the ability to deduplicate existing vulnerabilities without re-uploading the report. It might be possible to achieve this through the reimport mechanism, but by utilizing the already existing report within the Test.
Describe alternatives you've considered
As an alternative, all Tests with duplicates, and all Engagements with those Tests, could be deleted. However, this process is time-consuming if there are many such cases. Additionally, reports could be manually reimported, but this may be problematic when CI/CD report import is configured, as the reports might not have been saved.
Additional context
I had to delete the Test data directly from the DefectDojo database, as there is no bulk delete functionality for Tests or Engagements via the DefectDojo API. There may be an easier way to analyze existing vulnerabilities for duplicates. Please let me know if such a method exists.