cloud-service-enum icon indicating copy to clipboard operation
cloud-service-enum copied to clipboard

azure_service_enum.py - IndexError: list index out of range

Open win3zz opened this issue 5 years ago • 0 comments

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: Screenshot from 2020-05-12 16-06-10

RECOMMENDATION

Check the length of 'apiversionlist' array before use. To resolve the problem, add the following code before #L61:

if len(apiversionlist) > 1 :

win3zz avatar May 12 '20 11:05 win3zz