Skip to content

Commit

Permalink
new label: nessusagent
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptingosx committed Jan 6, 2023
2 parents 20b5ba0 + 935f17b commit a81f8f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fragments/labels/nessusagent.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
nessusagent)
name="Nessus Agent"
type="pkgInDmg"
downloadURL="https://www.tenable.com/downloads/api/v1/public/pages/nessus-agents/downloads/18063/download?i_agree_to_tenable_license_agreement=true"
appCustomVersion() { /Library/NessusAgent/run/bin/nasl -v | grep Agent | cut -d' ' -f3 }
appNewVersion=$(curl -I 'https://www.tenable.com/downloads/api/v1/public/pages/nessus-agents/downloads/18063/download?i_agree_to_tenable_license_agreement=true' | grep 'filename=' | cut -d- -f3 | cut -f 1-3 -d '.')
expectedTeamID="4B8J598M7U"
;;

0 comments on commit a81f8f4

Please sign in to comment.