How to download Nessus Pro using cURL…

assuming you have a valid account with tenable and have paid for your license.

assuming you have a valid account with tenable and have paid for your license.

Problem Statement

You are setting up a cloud server to conduct Nessus scans. You don’t have access to ssh (due to various reasons, let’s not go there). you are using cloud console. How would you download Tenable Nessus Pro on your cloud machine?
curl --request GET --url https://www.tenable.com/downloads/api/v2/pages/nessus/files/Nessus-8.7.1-debian6_amd64.deb  --header “Authorization: Bearer <auth-code-here>” --output ./fileName.deb