-
Notifications
You must be signed in to change notification settings - Fork 1.7k
deduplication is not working #12320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The dedupe config for trivy operator by default:
And recalculating the hash_codes via:
|
Thanks @valentijnscholten, I'm a collegue of phuget. This seems to be working, I actually found this before your reply by reading up different issues on github and looking up linked markdown files. Might I suggest adding this information to the official documentation at the deduplication section here https://docs.defectdojo.com/en/working_with_findings/finding_deduplication/about_deduplication/ We had trouble understanding what parsers do, how they are connected to Tests and how Hashcodes are involved. All of this was not mentioned or linked in the documentation linked above. We found the information we needed in this document and the subsequent chapters: https://github.com/DefectDojo/django-DefectDojo/blob/master/docs/content/en/open_source/archived_docs/usage/features.md#deduplication-algorithms All in all we spent about 2-3 hours searching up on this. |
copying in @paulOsinski |
Hey,
I have a problem with deduplication. I use the trivy-dojo-report-operator to import my reports to Defectdojo but I keep getting clones of vulnerabilities that only differ in creation-time and description.
I enabled deduplication in Defectdojo and set the max number of duplicates to 0. I think the issue could be the description-field. It contains our ressource-name which ends with a hash that changes every time we deploy. I already tried to change the deduplication algorithm. However nothing worked for me so far. Is there a workaround?
I looked into the logs of the deployed Defectdojo pods, but didn't see any errors.
Here are the values of one of the findings that have not been recognized as duplicates:
Defect-Dojo-Django Version Docker: 2.42.0-alpine
Helm Version: 1.6.183
The text was updated successfully, but these errors were encountered: