Open RegisGraptin opened 6 days ago
I cannot recreate this issue.
>>> from tenable.io import TenableIO
>>> tvm = TenableIO()
>>> families = tvm.plugins.families()
>>> families[0]
{'id': 28, 'name': 'AIX Local Security Checks', 'count': 11563}
>>>
Hello @SteveMcGrath, Thanks for your response. I should have specify that this error does not occur every time. In our prod environment we already notice two times this issue, recently. And it does not seems related to network issue.
Describe the bug We are using the Tenable IO SDK, to retrieve information on
tio.plugins.families()
. However, it seems that the internal API request does not managed invalid json response/eventuallynull
or empty response. And in the SDK, it seems that this behaviour is not managed.To Reproduce We have create a
tenable.io.TenableIO
object. And we are requesting ontio.plugins.families()
.Expected behavior The program should not crash.
System Information (please complete the following information):