mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-02 21:33:56 +01:00
so defaults filebeat modules
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
{% set MANAGER = salt['grains.get']('master') %}
|
||||
{% set MANAGERIP = salt['pillar.get']('global:managerip', '') %}
|
||||
{% from 'filebeat/map.jinja' import THIRDPARTY with context %}
|
||||
{% from 'filebeat/map.jinja' import SO with context %}
|
||||
|
||||
|
||||
filebeatetcdir:
|
||||
@@ -78,21 +79,21 @@ filebeatmoduleconfsync:
|
||||
- group: root
|
||||
- template: jinja
|
||||
|
||||
# Sync Filebeat modules
|
||||
filebeatmodules:
|
||||
file.recurse:
|
||||
- name: /opt/so/conf/filebeat/modules
|
||||
- source: salt://filebeat/modules
|
||||
- user: root
|
||||
- group: root
|
||||
sodefaults_module_conf:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/filebeat/etc/securityonion.yml
|
||||
- source: salt://filebeat/etc/module_config.yml.jinja
|
||||
- template: jinja
|
||||
- defaults:
|
||||
MODULES: {{ SO }}
|
||||
|
||||
thirdparty_module_conf:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/filebeat/etc/thirdparty.yml
|
||||
- source: salt://filebeat/etc/thirdparty.yml.jinja
|
||||
- source: salt://filebeat/etc/module_config.yml.jinja
|
||||
- template: jinja
|
||||
- defaults:
|
||||
THIRDPARTY: {{ THIRDPARTY }}
|
||||
MODULES: {{ THIRDPARTY }}
|
||||
|
||||
so-filebeat:
|
||||
docker_container.running:
|
||||
|
||||
Reference in New Issue
Block a user