From 0b1a258a4b9b2530214d90a66c56fdc4bf7236d7 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 26 Jun 2020 14:43:27 -0400 Subject: [PATCH] change sensor homenet map --- salt/suricata/suricata_config.map.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/suricata/suricata_config.map.jinja b/salt/suricata/suricata_config.map.jinja index 3f2a2e3be..a1d77cb08 100644 --- a/salt/suricata/suricata_config.map.jinja +++ b/salt/suricata/suricata_config.map.jinja @@ -6,9 +6,9 @@ {% set default_evelog_index = [] %} {% set surimeta_evelog_index = [] %} -{% if salt['pillar.get']('sensor:homenet') %} +{% if salt['pillar.get']('sensor:hnsensor') %} {% load_yaml as homenet %} -HOME_NET: "[{{salt['pillar.get']('sensor:hnsensor', '')}}]" +HOME_NET: "[{{salt['pillar.get']('sensor:hnsensor')}}]" {% endload %} {% else %} {% load_yaml as homenet %}