Skip to content

Commit 4777763

Browse files
authored
Reimport: Restore default for close_old_findings to True (#12837)
As part of #12782 the default value for `close_old_findings` was swapped from `True` to `False`. This PR restores that functionality
1 parent 64a15d4 commit 4777763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/api_v2/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2383,7 +2383,7 @@ class ReImportScanSerializer(CommonImportScanSerializer):
23832383
# also for ReImport.
23842384
close_old_findings = serializers.BooleanField(
23852385
required=False,
2386-
default=False,
2386+
default=True,
23872387
help_text="Old findings no longer present in the new report get closed as mitigated when importing. "
23882388
"If service has been set, only the findings for this service will be closed. "
23892389
"This only affects findings within the same test.",

0 commit comments

Comments
 (0)