mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
LS salt module - Change rulefile
This commit is contained in:
@@ -84,7 +84,7 @@ lslogdir:
|
||||
|
||||
{% if freq == '0' and dstats == '0' %}
|
||||
|
||||
/opt/so/conf/logstash/rulesets:
|
||||
/opt/so/conf/logstash/rulesets.txt:
|
||||
file.managed:
|
||||
- contents:
|
||||
- FREQ=0
|
||||
@@ -103,7 +103,7 @@ removedstats2:
|
||||
- name: /opt/so/conf/logstash/pipeline/8008_postprocess_dns_whois_age.conf
|
||||
|
||||
{% elif freq == '1' and dstats == '0' %}
|
||||
/opt/so/conf/logstash/rulesets:
|
||||
/opt/so/conf/logstash/rulesets.txt:
|
||||
file.managed:
|
||||
- contents:
|
||||
- FREQ=1
|
||||
@@ -117,14 +117,14 @@ removedstats2:
|
||||
- name: /opt/so/conf/logstash/pipeline/8008_postprocess_dns_whois_age.conf
|
||||
|
||||
{% elif freq == '1' and dstats == '1' %}
|
||||
/opt/so/conf/logstash/rulesets:
|
||||
/opt/so/conf/logstash/rulesets.txt:
|
||||
file.managed:
|
||||
- contents:
|
||||
- FREQ=1
|
||||
- DSTATS=1
|
||||
|
||||
{% elif freq == '0' and dstats == '1' %}
|
||||
/opt/so/conf/logstash/rulesets:
|
||||
/opt/so/conf/logstash/rulesets.txt:
|
||||
file.managed:
|
||||
- contents:
|
||||
- FREQ=0
|
||||
@@ -159,7 +159,7 @@ so-logstash:
|
||||
- /opt/so/conf/logstash/logstash-template.json:/logstash-template.json:ro
|
||||
- /opt/so/conf/logstash/beats-template.json:/beats-template.json:ro
|
||||
- /opt/so/conf/logstash/pipeline:/usr/share/logstash/pipeline:rw
|
||||
- /opt/so/conf/logstash/rulesets:/usr/share/logstash/rulesets:ro
|
||||
- /opt/so/conf/logstash/rulesets.txt:/usr/share/logstash/rulesets.txt:ro
|
||||
- /opt/so/rules:/etc/nsm/rules:ro
|
||||
- /nsm/import:/nsm/import:ro
|
||||
- /nsm/logstash:/usr/share/logstash/data:rw
|
||||
|
||||
Reference in New Issue
Block a user