cloud-service-enum
cloud-service-enum copied to clipboard
azure_service_enum.py - IndexError: list index out of range
ISSUE SUMMARY
azure_service_enum.py script throws an error on line number 73 when only one API version is available.
Please find below screenshot for your reference:

RECOMMENDATION
Check the length of 'apiversionlist' array before use. To resolve the problem, add the following code before #L61:
if len(apiversionlist) > 1 :