Tenable-Utility is a bash script designed to streamline administrative tasks for Tenable.sc and Nessus. It includes functions to manage user accounts, lock/unlock users, reset passwords, and perform various operations on Nessus user accounts.
To use the script:
chmod +x Tenable-Utility.sh
sudo ./Tenable-Utility.sh
When executed, the script will display a menu that allows you to choose from various administrative options related to Tenable.sc and Nessus.
After running the script, you'll be presented with a menu. Pick an option to perform the corresponding task:
------------------------------------------------
What do you want to do?
1. Unlock admin account | 4. Lock admin account
2. Unlock all accounts | 5. Lock all accounts
3. Unlock one account | 6. Lock one account
7. Reset user password | 8. Manage Nessus accounts
9. Exit program
If you select option 8
, you'll enter the Nessus User Management menu where you can manage Nessus user accounts:
Nessus User Management
1. Add user | 3. Change password
2. Remove user | 4. Exit
Contributions are welcome! If you would like to improve or extend the functionality of this script, feel free to submit a pull request or open an issue to discuss your ideas. Please ensure that any contributions follow best practices for shell scripting and maintain compatibility with both Tenable.sc and Nessus environments.