Missing password in payload to enable SMS MFA #456
Labels
bug
This is a bug with the pyTenable library
follow-up
label for items that requires follow-up internally
Tenable.io
Tenable.io Package
upstream-api
The issue is related to the calling API or API Docs
Milestone
Describe the bug
When sending a verification code in the users module an error is returned that the current password is invalid. This is the users module enable two factor.
To Reproduce
Steps to reproduce the behavior:
users/{user_id}/two-factor/send-verification
endpointExpected behavior
Should return 200 with empty response.
Screenshots
N/A
System Information (please complete the following information):
Additional context
When adding the users password to the payload then the POST call succeeds.
eg.
{'sms_phone': <phone number>,'password': <password>}
This isn't documented in the Tenable API documentation and doesn't look valid in pyTenable.
The text was updated successfully, but these errors were encountered: