Skip to content

Commit 0187fce

Browse files
committed
added relevant test name to close old findings comment
1 parent b3049f9 commit 0187fce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dojo/importers/default_importer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ def close_old_findings(
368368
self.mitigate_finding(
369369
old_finding,
370370
(
371-
"This finding has been automatically closed "
372-
"as it is not present anymore in recent scans."
371+
'This Finding has been automatically closed by the Test: \n "' + str(self.test) +
372+
'" \n \n This is because the Finding is not present anymore in recent scans.'
373373
),
374374
finding_groups_enabled=self.findings_groups_enabled,
375375
product_grading_option=False,

0 commit comments

Comments
 (0)