- Updated for latest Powershell and Nessus Version.
- Added filters.
- Added folder choice.
- Thanks to Paperclips for his work.
- Tested only with latest Nessus Professional version (10.7.1)
ScriptName: NessusPro_v7_Report_Exporter_Tool.ps1
PSVersion: 7
Purpose: Powershell script that use REST methods to obtain report automation tasks.
Author: Paperclips.
Email: [email protected]
Created: Sept 2018
Updated: Apr 2024
A PowerShell script which will allow the user to connect to any Nessus Server (IO) Or (ProV7) URL + Port and interact with the Nessus API to obtain information on scan reports.
The user will be able to Export reports in a format of their choice e.g. nessus, CSV, PDF, HTML.
Reports will be stored on the local system under the path of C:\Temp\
The user will be prompted for the following input criteria when the script is run:
- Enter a full Nessus Scanner URL incl port (e.g. https://NessusServerFQDN:8834 ).
- Enter a valid Username that has access to the nessus scanner URL provided.
- Enter a valid Password to the corresponding Username provided.
- Enter a folder id.
- Script must be run with an ACL that has proxy access or internet access if external facing Nessus.io servers are targeted.
- Ensure that the correct execution policy is set when executing the script.