Skip to content

Commit 77e8ca1

Browse files
author
Valentijn Scholten
committed
add false positive history to new batch post process task
1 parent 1a721ea commit 77e8ca1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

dojo/finding/helper.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,14 @@ def post_process_findings_batch(finding_ids, *args, dedupe_option=True, rules_op
498498
if dedupe_option and system_settings.enable_deduplication:
499499
dedupe_batch_of_findings(findings)
500500

501+
if system_settings.false_positive_history:
502+
# Only perform false positive history if deduplication is disabled
503+
if system_settings.enable_deduplication:
504+
deduplicationLogger.warning("skipping false positive history because deduplication is also enabled")
505+
else:
506+
for finding in findings:
507+
do_false_positive_history(finding, *args, **kwargs)
508+
501509
# Non-status changing tasks
502510
if issue_updater_option:
503511
for finding in findings:

0 commit comments

Comments
 (0)