From 2a0f414dcc6dee8a49e91cc872b510104e70d242 Mon Sep 17 00:00:00 2001 From: James Hackett Date: Sat, 9 Dec 2023 18:19:32 +0000 Subject: [PATCH] Add nessus for internal security scans --- jobs/nessus.hcl | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 jobs/nessus.hcl diff --git a/jobs/nessus.hcl b/jobs/nessus.hcl new file mode 100644 index 0000000..a8b89d4 --- /dev/null +++ b/jobs/nessus.hcl @@ -0,0 +1,39 @@ +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"] + + } + + resources { + memory = 1000 + } + } + } +}