A Python script to automate the management of stale scan agents in Tenable.io
The following packages are required to be installed:
pip install python-dotenv
pip install pytenable
More information about pyTenable can be found here: https://pypi.org/project/pyTenable/
When installing the dotenv module:
- Be sure to first install
python-dotenv
and NOTdotenv
. - Then, keep the
import dotenv
statement as-is, sinceimport python-dotenv
does not work or exist