You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{'message': 'Error occured in API.',
'data': '{"found_by":["This field is required."],"message":"{\'found_by\': [ErrorDetail(string=\'This field is required.\', code=\'required\')]}"}',
'success': False,
'response_code': 400,
'logger': <Logger defectdojo_api (WARNING)>}
The text was updated successfully, but these errors were encountered:
Hello!
As a temporary solution you can create your own DD api class inherited from DefectDojoAPIv2 and override its create_finding method to accept test_type_id argument.
Implementation should be the same as in original method, but you need to append data dictionary with key-value pair "found_by": [test_type_id].
Bug Description
create_finding() method gives error "found_by field is required"
Steps to reproduce
Code :
Output :
The text was updated successfully, but these errors were encountered: