django-DefectDojo icon indicating copy to clipboard operation
django-DefectDojo copied to clipboard

Fix improper reactivation in reimporter, using is_mitigated

Open Gby56 opened this issue 3 years ago • 0 comments

Due to incomplete fix in https://github.com/DefectDojo/django-DefectDojo/pull/6452 Explainer: The initial fix was too narrow in its decision/conditions, only looking at items/findings that had a mitigated timestamp. Instead, is_mitigated should be used, to simply check if the incoming item is already mitigated or not, and if the existing finding is mitigated or not. I have left the timestamp comparison IF it exists on the item.

Gby56 avatar Sep 22 '22 15:09 Gby56