From 2ad6ab7dfcf16ba8617720f93a35eafa6bf1bf89 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Tue, 13 Oct 2020 12:29:55 -0400 Subject: [PATCH] Dynamically alter docs URL based on airgap setting --- salt/soc/files/soc/soc.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salt/soc/files/soc/soc.json b/salt/soc/files/soc/soc.json index 7195a1d0f..54d24bde7 100644 --- a/salt/soc/files/soc/soc.json +++ b/salt/soc/files/soc/soc.json @@ -54,6 +54,11 @@ } }, "client": { + {%- if ISAIRGAP is sameas true -%} + "docsUrl": "/docs/, + {%- else %} + "docsUrl": "https://docs.securityonion.net/en/2.3/", + {%- endif %} "hunt": { "advanced": true, "groupItemsPerPage": 10,