veracode / veracode-api-py

Python helper library for working with the Veracode APIs. Handles retries, pagination, and other features of the modern Veracode REST APIs.
MIT License
17 stars 24 forks source link

Fixed if parameter was None method would crash #61

Closed AaronButler-Veracode closed 1 year ago

AaronButler-Veracode commented 1 year ago

For the method: setup_scan(self, scan_config_request, scan_contact_info=None, linked_app_guid: UUID=None):

If scan_contact_info was null the "payload.update(scan_contact_info)" call would fail as non-Iterable.

Added check to see if parameter was None.