defectdojo_api icon indicating copy to clipboard operation
defectdojo_api copied to clipboard

Booleans parameters in list_findings not being added.

Open jsayerascb opened this issue 2 years ago • 0 comments

There are different check that intend to validate whether a parameter needs to be added to the request or not. However for boolean parameters the condition should check whether the value is None or not. Otherwise it is not possible to specify False values, as they will not be added to the request. Below is an example:

https://github.com/DefectDojo/defectdojo_api/blob/969f97a51fb3598f8c5ab3c71f3da5426d39c33f/defectdojo_api/defectdojo_apiv2.py#L714

jsayerascb avatar Nov 02 '23 11:11 jsayerascb