pyTenable returns error 500 when configuring agent scan
Describe the bug pyTenable sometime returns :
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred. Please wait a moment and try your request again."}
To Reproduce When trying to configure/update scan with below updates-
tio.scans.configure({scanID}, starttime={newscantime})
tio.scans.configure({scanID}, enabled='True')
tio.scans.configure({scanID}, timezone='UTC')
tio.scans.configure({scanID}, rrules='FREQ=ONETIME')
Expected behavior Scan should be configured with above inputs.
System Information (please complete the following information):
- OS: Windows 10 ,Ubuntu 18
Additional context Also Tried Tenable API using below parameter,Same error occurs, sometime scan gets updated but it gives 500 error. API EndPoint - https://cloud.tenable.com/scans/{scan_id}
`payload={
"settings":{
'name':{scan_name},
'starttime':{newscantime},
'enabled':'True',
'timezone':'UTC',
'rrules':'FREQ=ONETIME'
},
"uuid": "{UUID}"
Can you turn on the debug logs and respond with the logs from the failed call? We would specifically be looking for an request and the response as well as the full traceback.
Closing due to inactivity.