mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Bro Module - Fix commutiy Bro setting
This commit is contained in:
@@ -45,6 +45,15 @@ bropolicysync:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
# Sync local.bro
|
# Sync local.bro
|
||||||
|
{% if salt['pillar.get']('static:hnmaster', '') == 'COMMUNITY' %}
|
||||||
|
localbrosync:
|
||||||
|
file.managed:
|
||||||
|
- name: /opt/so/conf/bro/local.bro
|
||||||
|
- source: salt://bro/files/local.bro.community
|
||||||
|
- user: 937
|
||||||
|
- group: 939
|
||||||
|
- template: jinja
|
||||||
|
{% else %}
|
||||||
localbrosync:
|
localbrosync:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/so/conf/bro/local.bro
|
- name: /opt/so/conf/bro/local.bro
|
||||||
@@ -52,6 +61,7 @@ localbrosync:
|
|||||||
- user: 937
|
- user: 937
|
||||||
- group: 939
|
- group: 939
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Sync node.cfg
|
# Sync node.cfg
|
||||||
nodecfgsync:
|
nodecfgsync:
|
||||||
|
|||||||
Reference in New Issue
Block a user