mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Add airgap config
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
{%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %}
|
{%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %}
|
||||||
{%- set THEHIVEKEY = salt['pillar.get']('global:hivekey', '') %}
|
{%- set THEHIVEKEY = salt['pillar.get']('global:hivekey', '') %}
|
||||||
{%- set FEATURES = salt['pillar.get']('elastic:features', False) %}
|
{%- 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.queries.json" as alerts_queries %}
|
||||||
{%- import_json "soc/files/soc/alerts.actions.json" as alerts_actions %}
|
{%- import_json "soc/files/soc/alerts.actions.json" as alerts_actions %}
|
||||||
{%- import_json "soc/files/soc/alerts.eventfields.json" as alerts_eventfields %}
|
{%- import_json "soc/files/soc/alerts.eventfields.json" as alerts_eventfields %}
|
||||||
@@ -15,6 +16,11 @@
|
|||||||
"baseUrl": "/",
|
"baseUrl": "/",
|
||||||
"maxPacketCount": 5000,
|
"maxPacketCount": 5000,
|
||||||
"htmlDir": "html",
|
"htmlDir": "html",
|
||||||
|
{%- if ISAIRGAP is sameas true -%}
|
||||||
|
"airgapEnabled": true,
|
||||||
|
{%- else %}
|
||||||
|
"airgapEnabled": false,
|
||||||
|
{%- endif %}
|
||||||
"modules": {
|
"modules": {
|
||||||
"filedatastore": {
|
"filedatastore": {
|
||||||
"jobDir": "jobs"
|
"jobDir": "jobs"
|
||||||
|
|||||||
Reference in New Issue
Block a user