From fca3b4eae71ad5ab8e78f69054cf2868ef85e7d3 Mon Sep 17 00:00:00 2001 From: Manuel Sommer Date: Tue, 13 Feb 2024 11:48:03 +0100 Subject: [PATCH] :bug: fix issue #8096 --- dojo/tools/api_sonarqube/updater_from_source.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dojo/tools/api_sonarqube/updater_from_source.py b/dojo/tools/api_sonarqube/updater_from_source.py index 137c55dbd79..a844ce35965 100644 --- a/dojo/tools/api_sonarqube/updater_from_source.py +++ b/dojo/tools/api_sonarqube/updater_from_source.py @@ -80,7 +80,7 @@ def update_finding_status(finding, sonarqube_status): finding.false_p = False finding.mitigated = None finding.is_mitigated = False - ra_helper.remove_finding.from_any_risk_acceptance(finding) + ra_helper.remove_finding_from_risk_acceptance(finding) elif sonarqube_status == "CONFIRMED": finding.active = True @@ -88,7 +88,7 @@ def update_finding_status(finding, sonarqube_status): finding.false_p = False finding.mitigated = None finding.is_mitigated = False - ra_helper.remove_finding.from_any_risk_acceptance(finding) + ra_helper.remove_finding_from_risk_acceptance(finding) elif sonarqube_status == "FIXED": finding.active = False @@ -96,7 +96,7 @@ def update_finding_status(finding, sonarqube_status): finding.false_p = False finding.mitigated = timezone.now() finding.is_mitigated = True - ra_helper.remove_finding.from_any_risk_acceptance(finding) + ra_helper.remove_finding_from_risk_acceptance(finding) elif sonarqube_status == "WONTFIX": finding.active = False @@ -114,6 +114,6 @@ def update_finding_status(finding, sonarqube_status): finding.false_p = True finding.mitigated = None finding.is_mitigated = False - ra_helper.remove_finding.from_any_risk_acceptance(finding) + ra_helper.remove_finding_from_risk_acceptance(finding) finding.save(issue_updater_option=False, dedupe_option=False)