mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
2.4 strelka
This commit is contained in:
4
salt/strelka/filecheck/defaults.yaml
Normal file
4
salt/strelka/filecheck/defaults.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
filecheck:
|
||||
historypath: '/nsm/strelka/history/'
|
||||
strelkapath: '/nsm/strelka/unprocessed/'
|
||||
logfile: '/opt/so/log/strelka/filecheck.log'
|
||||
@@ -1,10 +0,0 @@
|
||||
{%- set ENGINE = salt['pillar.get']('global:mdengine', '') %}
|
||||
filecheck:
|
||||
{%- if ENGINE == "SURICATA" %}
|
||||
extract_path: '/nsm/suricata/extracted'
|
||||
{%- else %}
|
||||
extract_path: '/nsm/zeek/extracted/complete'
|
||||
{%- endif %}
|
||||
historypath: '/nsm/strelka/history/'
|
||||
strelkapath: '/nsm/strelka/unprocessed/'
|
||||
logfile: '/opt/so/log/strelka/filecheck.log'
|
||||
1
salt/strelka/filecheck/filecheck.yaml.jinja
Normal file
1
salt/strelka/filecheck/filecheck.yaml.jinja
Normal file
@@ -0,0 +1 @@
|
||||
{{ FILECHECKCONFIG | yaml(false) }}
|
||||
12
salt/strelka/filecheck/map.jinja
Normal file
12
salt/strelka/filecheck/map.jinja
Normal file
@@ -0,0 +1,12 @@
|
||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||
{% import_yaml 'strelka/filecheck/defaults.yaml' as FILECHECKDEFAULTS %}
|
||||
|
||||
{% if GLOBALS.md_engine == "SURICATA" %}
|
||||
{% set extract_path = '/nsm/suricata/extracted' %}
|
||||
{% set filecheck_runas = 'suricata' %}
|
||||
{% else %}
|
||||
{% set extract_path = '/nsm/zeek/extracted/complete' %}
|
||||
{% set filecheck_runas = 'socore' %}
|
||||
{% endif %}
|
||||
|
||||
{% do FILECHECKDEFAULTS.filecheck.update({'extract_path': extract_path}) %}
|
||||
Reference in New Issue
Block a user