steinbrueckri.ansible_role_tenable_agent
ansible-role-tenable-agent
Ansible role for setting up and configuring the Nessus Agent.
Role Variables
Variable | Description |
---|---|
nessus_agent_key |
The key needed to link with the Nessus host (this is required). |
nessus_agent_group |
The group that this agent will be added to when connecting to the Nessus host (this is required). |
nessus_agent_host |
The Nessus host to connect with (default: cloud.tenable.com ). |
nessus_agent_port |
Port for the Nessus host (default: 443 ). |
nessus_agent_rules |
Can be used to configure the nessusd.rules file. |
nessus_agent_download_url |
To find the download URL, go to https://www.tenable.com/downloads/nessus-agents and copy the URL. You will also need to download the file and generate the md5 checksum. NOTE: This link can change. |
nessus_agent_package |
Can be a package from a repository, a file path, or a URL (default: NessusAgent ). |
NOTE: The download URLs from Tenable can change frequently. To create a new list automatically, run:
get-package-urls.py >vars/package_url.yaml
Dependencies
There are no dependencies for this Ansible role. To run get-package-urls.py
, install the Python bs4
package.
Example Playbook
Simple Use Case
- hosts: all
vars:
nessus_agent_key: xxxxxxxxx
nessus_agent_file_checksum: "md5:3eeee6531c7822ac7fe374cc28d74779"
nessus_agent_download_url: "https://www.tenable.com/downloads/api/v1/public/pages/nessus-agents/downloads/12176/download?i_agree_to_tenable_license_agreement=true" # NessusAgent-8.2.2-ubuntu1110_amd64.deb
roles:
- role: ansible-role-nessus-agent
Advanced Use Case
- hosts: all
vars:
nessus_agent_key: xxxxxxxxx
nessus_agent_group: GCP
nessus_agent_file_checksum: "md5:3eeee6531c7822ac7fe374cc28d74779"
nessus_agent_download_url: "https://www.tenable.com/downloads/api/v1/public/pages/nessus-agents/downloads/12176/download?i_agree_to_tenable_license_agreement=true" # NessusAgent-8.2.2-ubuntu1110_amd64.deb
nessus_agent_rules:
default: accept
plugin_reject:
- 33851
roles:
- role: ansible-role-nessus-agent
Informazioni sul progetto
Ansible role to install Nessus agent (Tenable agent).
Installa
ansible-galaxy install steinbrueckri.ansible_role_tenable_agent
Licenza
Unknown
Download
645
Proprietario
DevOps Engineer 👨💻 @ Userlike for living 🏣
Photo assistant 👨💼️ @ carolin.photography for love ❤️
Streetphotography Artist 👨🎨️ for passion 🙌