From c388966e7ee25636b59c709d165ed5cbfb614b63 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 13 Oct 2020 12:05:19 -0400 Subject: [PATCH] Add airgap config --- salt/soc/files/soc/soc.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salt/soc/files/soc/soc.json b/salt/soc/files/soc/soc.json index f6a6eca5b..7195a1d0f 100644 --- a/salt/soc/files/soc/soc.json +++ b/salt/soc/files/soc/soc.json @@ -2,6 +2,7 @@ {%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %} {%- set THEHIVEKEY = salt['pillar.get']('global:hivekey', '') %} {%- set FEATURES = salt['pillar.get']('elastic:features', False) %} +{%- set ISAIRGAP = salt['pillar.get']('global:airgap', 'False') %} {%- import_json "soc/files/soc/alerts.queries.json" as alerts_queries %} {%- import_json "soc/files/soc/alerts.actions.json" as alerts_actions %} {%- import_json "soc/files/soc/alerts.eventfields.json" as alerts_eventfields %} @@ -15,6 +16,11 @@ "baseUrl": "/", "maxPacketCount": 5000, "htmlDir": "html", + {%- if ISAIRGAP is sameas true -%} + "airgapEnabled": true, + {%- else %} + "airgapEnabled": false, + {%- endif %} "modules": { "filedatastore": { "jobDir": "jobs"