@@ -501,7 +501,7 @@ def close_old_findings(
501501 # push finding groups to jira since we only only want to push whole groups
502502 # We dont check if the finding jira sync is applicable quite yet until we can get in the loop
503503 # but this is a way to at least make it that far
504- if self .findings_groups_enabled and (self .push_to_jira or getattr (self .jira_instance , "keep_findings_jira_sync " , False )):
504+ if self .findings_groups_enabled and (self .push_to_jira or getattr (self .jira_instance , "finding_jira_sync " , False )):
505505 for finding_group in {finding .finding_group for finding in findings if finding .finding_group is not None }:
506506 # Check the push_to_jira flag again to potentially shorty circuit without checking for existing findings
507507 if self .push_to_jira or is_keep_in_sync_with_jira (finding_group , prefetched_jira_instance = self .jira_instance ):
@@ -990,14 +990,14 @@ def process_groups_for_all_findings(
990990 )
991991 # We dont check if the finding jira sync is applicable quite yet until we can get in the loop
992992 # but this is a way to at least make it that far
993- if self .push_to_jira or getattr (self .jira_instance , "keep_findings_jira_sync " , False ):
993+ if self .push_to_jira or getattr (self .jira_instance , "finding_jira_sync " , False ):
994994 object_to_push = findings [0 ].finding_group if findings [0 ].finding_group is not None else findings [0 ]
995995 # Check the push_to_jira flag again to potentially shorty circuit without checking for existing findings
996996 if self .push_to_jira or is_keep_in_sync_with_jira (object_to_push , prefetched_jira_instance = self .jira_instance ):
997997 jira_helper .push_to_jira (object_to_push )
998998 # We dont check if the finding jira sync is applicable quite yet until we can get in the loop
999999 # but this is a way to at least make it that far
1000- if self .findings_groups_enabled and (self .push_to_jira or getattr (self .jira_instance , "keep_findings_jira_sync " , False )):
1000+ if self .findings_groups_enabled and (self .push_to_jira or getattr (self .jira_instance , "finding_jira_sync " , False )):
10011001 for finding_group in {
10021002 finding .finding_group
10031003 for finding in self .reactivated_items + self .unchanged_items
0 commit comments