mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-06 16:23:09 +01:00
disable zeekpacketlosscron and telegraf checks if zeek is diabled via pillar
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
{%- set HELIX_API_KEY = salt['pillar.get']('fireeye:helix:api_key', '') %}
|
||||
{%- set UNIQUEID = salt['pillar.get']('sensor:uniqueid', '') %}
|
||||
{%- set TRUE_CLUSTER = salt['pillar.get']('elasticsearch:true_cluster', False) %}
|
||||
{%- set ZEEK_ENABLED = salt['pillar.get']('zeek:enabled', 'True') %}
|
||||
{%- set MDENGINE = salt['pillar.get']('global:mdengine', 'ZEEK') %}
|
||||
|
||||
|
||||
# Global tags can be specified here in key="value" format.
|
||||
[global_tags]
|
||||
@@ -740,10 +743,10 @@
|
||||
"/scripts/stenoloss.sh",
|
||||
"/scripts/suriloss.sh",
|
||||
"/scripts/checkfiles.sh",
|
||||
{% if salt['pillar.get']('global:mdengine', 'ZEEK') == 'ZEEK' %}
|
||||
{%- if MDENGINE == 'ZEEK' and ZEEK_ENABLED is sameas true %}
|
||||
"/scripts/zeekloss.sh",
|
||||
"/scripts/zeekcaptureloss.sh",
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
"/scripts/oldpcap.sh",
|
||||
"/scripts/raid.sh",
|
||||
"/scripts/beatseps.sh"
|
||||
@@ -757,10 +760,10 @@
|
||||
"/scripts/stenoloss.sh",
|
||||
"/scripts/suriloss.sh",
|
||||
"/scripts/checkfiles.sh",
|
||||
{% if salt['pillar.get']('global:mdengine', 'ZEEK') == 'ZEEK' %}
|
||||
{%- if MDENGINE == 'ZEEK' and ZEEK_ENABLED is sameas true %}
|
||||
"/scripts/zeekloss.sh",
|
||||
"/scripts/zeekcaptureloss.sh",
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
"/scripts/oldpcap.sh",
|
||||
"/scripts/eps.sh",
|
||||
"/scripts/raid.sh",
|
||||
@@ -776,10 +779,10 @@
|
||||
"/scripts/stenoloss.sh",
|
||||
"/scripts/suriloss.sh",
|
||||
"/scripts/checkfiles.sh",
|
||||
{% if salt['pillar.get']('global:mdengine', 'ZEEK') == 'ZEEK' %}
|
||||
{%- if MDENGINE == 'ZEEK' and ZEEK_ENABLED is sameas true %}
|
||||
"/scripts/zeekloss.sh",
|
||||
"/scripts/zeekcaptureloss.sh",
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
"/scripts/oldpcap.sh",
|
||||
"/scripts/eps.sh",
|
||||
"/scripts/raid.sh",
|
||||
@@ -794,10 +797,10 @@
|
||||
"/scripts/stenoloss.sh",
|
||||
"/scripts/suriloss.sh",
|
||||
"/scripts/checkfiles.sh",
|
||||
{% if salt['pillar.get']('global:mdengine', 'ZEEK') == 'ZEEK' %}
|
||||
{%- if MDENGINE == 'ZEEK' and ZEEK_ENABLED is sameas true %}
|
||||
"/scripts/zeekloss.sh",
|
||||
"/scripts/zeekcaptureloss.sh",
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
"/scripts/oldpcap.sh",
|
||||
"/scripts/influxdbsize.sh",
|
||||
"/scripts/raid.sh",
|
||||
@@ -811,10 +814,10 @@
|
||||
"/scripts/stenoloss.sh",
|
||||
"/scripts/suriloss.sh",
|
||||
"/scripts/checkfiles.sh",
|
||||
{% if salt['pillar.get']('global:mdengine', 'ZEEK') == 'ZEEK' %}
|
||||
{%- if MDENGINE == 'ZEEK' and ZEEK_ENABLED is sameas true %}
|
||||
"/scripts/zeekloss.sh",
|
||||
"/scripts/zeekcaptureloss.sh",
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
"/scripts/oldpcap.sh",
|
||||
"/scripts/helixeps.sh"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user