From 3f378f07872dddc42181123cc63f32b3184dee26 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Wed, 26 Sep 2018 13:06:37 -0400 Subject: [PATCH] Suricata Module - Add proper homent and interface support --- salt/suricata/files/suricata.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/suricata/files/suricata.yaml b/salt/suricata/files/suricata.yaml index cf88a2685..244e5f160 100644 --- a/salt/suricata/files/suricata.yaml +++ b/salt/suricata/files/suricata.yaml @@ -2,9 +2,9 @@ --- {%- set interface = salt['pillar.get']('sensor:interface', '') %} {%- if salt['pillar.get']('sensor:homenet') %} - {%- set homenet = salt['pillar.get']('sensor:homenet', '') %} + {%- set homenet = salt['pillar.get']('sensor:hnsensor', '') %} {%- else %} - {%- set homenet = salt['pillar.get']('static:homenet', '') %} + {%- set homenet = salt['pillar.get']('static:hnmaster', '') %} {%- endif %} # Suricata configuration file. In addition to the comments describing all # options in this file, full documentation can be found at: