diff --git a/jobs/nessus.hcl b/jobs/nessus.hcl new file mode 100644 index 0000000..97eb7a4 --- /dev/null +++ b/jobs/nessus.hcl @@ -0,0 +1,48 @@ +job "nessus" { + datacenters = ["aperture"] + type = "service" + + group "web" { + network { + port "http" { + to = 8834 + } + } + + service { + name = "nessus" + port = "http" + + check { + type = "http" + path = "/" + interval = "10s" + timeout = "2s" + protocol = "https" + } + } + + task "nessus" { + driver = "docker" + + config { + image = "tenable/nessus:latest-ubuntu" + ports = ["http"] + + } + template { + data = <