You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 17, 2025. It is now read-only.
Terraform module which creates a nessus server in AWS from Tenable's AMI for use with Tenable.io or Tenable.sc. You will need to go to the AWS Marketplace and subscribe to the (Pre-Authorized or BYOL) image prior to building with Terraform.
You will need to set the variable license_type to one of the following:
preauth: If you are deploying a preauth server with Tenable.io
byol: If you are using a BYOL license with Tenable.io
byol-sc: If you are using a BYOL license with Tenable.sc
Usage
module"nessus" {
source="AustinCloudGuru/nessus-appliance/aws"# You should pin the module to a specific version# version = "x.x.x"name="nessus"license_type="byol"vpc_id="vpc-0156c7c6959ba5858"subnet_ids=["subnet-05b1a3ffd786709d5", "subnet-0a35212c972a2af05", "subnet-0d0e78f696428aa28"]
instance_type="m5.xlarge"nessus_key="dloiijfhqoiewrubfoqieuurbfcpoiqweunrcopiqeuhnrfpoiu13ehrwft"security_group_ingress={
default = {
description ="NFS Inbound"
from_port =8834
protocol ="tcp"
to_port =8834
self =true
cidr_blocks = []
},
ssh = {
description ="ssh"
from_port =22
protocol ="tcp"
to_port =22
self =true
cidr_blocks = []
}
}
nessus_key="dloiijfhqoiewrubfoqieuurbfcpoiqweunrcopiqeuhnrfpoiu13ehrwft"tags={
Terraform ="true"
Environment ="development"
}
}
Deploying for Tenable.sc
This module can be used for deploying to Tenable.sc via the byol-sc license type. Credentials are set via the nessus_credentials variable. By default, the variable creates two new shell variables in the user_data script called NESSUS_USER and NESSUS_PASS. This is not secure since the variables will be visible in the Edit user_data section of the console. For a more secure solution, you should pull the credentials from a secure location (S3, AWS Secrets Manager, Hashicorp Vault, etc) and set the variables. For example, with Hashicorp Vault, you could define the nessus_credentials variable like this: