diff --git a/defectdojo_api/defectdojo_apiv2.py b/defectdojo_api/defectdojo_apiv2.py index e422822..7421c46 100644 --- a/defectdojo_api/defectdojo_apiv2.py +++ b/defectdojo_api/defectdojo_apiv2.py @@ -1475,7 +1475,7 @@ def set_finding(self, finding_id, product_id, engagement_id, test_id, title=None return self._request('PUT', 'findings/' + str(finding_id) + '/', data=data) - def patch_finding(self, finding_id, product_id=None,engagement_id=None, is_mitigated=None, test_id=None, title=None, description=None, severity=None, cwe=None, date=None, user_id=None, impact=None, active=None, verified=None, mitigation=None, references=None, build=None,false_p=None, risk_accepted=None, cvssv3_score=None): + def patch_finding(self, finding_id, product_id=None,engagement_id=None, is_mitigated=None, test_id=None, title=None, description=None, severity=None, cwe=None, date=None, user_id=None, impact=None, active=None, verified=None, mitigation=None, references=None, build=None,false_p=None, risk_accepted=None, cvssv3_score=None, cvssv3=None): data = {} if title is not None: @@ -1534,6 +1534,9 @@ def patch_finding(self, finding_id, product_id=None,engagement_id=None, is_mitig if cvssv3_score is not None: data['cvssv3_score'] = cvssv3_score + + if cvssv3 is not None: + data['cvssv3'] = cvssv3 return self._request('PATCH', 'findings/' + str(finding_id) + '/', data=data)