packetchaos / navi

A Command-line tool which leverages the Tenable.io API to reduce the time it takes to get information that is common during remediation or a troubleshooting event
GNU General Public License v3.0
72 stars 26 forks source link

View and Modify Tenable.io User Authorizations? #19

Closed NateUT99 closed 3 years ago

NateUT99 commented 3 years ago

Is it possible to view and modify Tenable.io user authorizations (api_permitted, password_permitted, saml_permitted) using Navi?

Reference: https://developer.tenable.com/reference#users-list-auths

packetchaos commented 3 years ago

Yes, Today it is possible to view; ironically I pushed that capability out yesterday. navi display auth <user_uuid>

This weekend I am pushing out the ability to change those settings via navi.

On Fri, Apr 2, 2021 at 7:32 AM NateUT99 @.***> wrote:

Is it possible to view and modify Tenable.io user authorizations (api_permitted, password_permitted, saml_permitted) using Navi?

Reference: https://developer.tenable.com/reference#users-list-auths

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/packetchaos/navi/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWPVTLXITQ66FMASYT4YMTTGXIPFANCNFSM42I6OWKQ .

NateUT99 commented 3 years ago

Perfect timing! :)

Thanks, Nate

packetchaos commented 3 years ago

I just pushed the capability out. If you need it today, you can clone the repo and install from the setup.py file.

navi user enable <user_uuid> -saml. --- This command will enable saml and disable API and Password login.

you could alternatively use the disable command

navi user disable <user_uuid> -api -pwd --- this command will disable API and Password and enable saml

git clone https://github.com/packetchaos/navi.git

cd to navi

python3 setup.py install

I will be finishing documentation this weekend and pushing it to pip on Sunday Night.

On Fri, Apr 2, 2021 at 8:28 AM NateUT99 @.***> wrote:

Closed #19 https://github.com/packetchaos/navi/issues/19.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/packetchaos/navi/issues/19#event-4546083159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWPVTNGEZXN5HS2FB5IVVLTGXPDFANCNFSM42I6OWKQ .