Scripts to interact with the Tenable Nessus API.
This script will download the most recent, complete nessus scan results, in .nessus format.
Add your respective API keys, and nessus manager hostname/IP to the code, and you're ready to go.
Each file will be labeled with $file_id.nessus
Modify for your needs/use case.
Simply run the script with ./exportScans.sh or sh exportScans.sh