mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-23 16:33:29 +01:00
Walk the homenet for zeek
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{%- if salt['pillar.get']('sensor:hnsensor') %}
|
||||
{%- set HOME_NET = salt['pillar.get']('sensor:hnsensor') %}
|
||||
{%- else %}
|
||||
{%- set HOME_NET = salt['pillar.get']('global:hnmanager') %}"
|
||||
{%- set HOME_NET = salt['pillar.get']('global:hnmanager') %}
|
||||
{%- endif %}
|
||||
{{ HOME_NET }}
|
||||
{%- set HNLIST = HOME_NET.split(',')}
|
||||
{%- for HN in HNLIST %}
|
||||
{{ HN }}
|
||||
{%- endfor %}S
|
||||
@@ -129,7 +129,7 @@ nodecfg:
|
||||
|
||||
networkscfg:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/zeek/netowrks.cfg
|
||||
- name: /opt/so/conf/zeek/networks.cfg
|
||||
- source: salt://zeek/files/networks.cfg
|
||||
- user: 937
|
||||
- group: 939
|
||||
|
||||
Reference in New Issue
Block a user