mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Suricata Module - Add proper homent and interface support
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
---
|
---
|
||||||
{%- set interface = salt['pillar.get']('sensor:interface', '') %}
|
{%- set interface = salt['pillar.get']('sensor:interface', '') %}
|
||||||
{%- if salt['pillar.get']('sensor:homenet') %}
|
{%- if salt['pillar.get']('sensor:homenet') %}
|
||||||
{%- set homenet = salt['pillar.get']('sensor:homenet', '') %}
|
{%- set homenet = salt['pillar.get']('sensor:hnsensor', '') %}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
{%- set homenet = salt['pillar.get']('static:homenet', '') %}
|
{%- set homenet = salt['pillar.get']('static:hnmaster', '') %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
# Suricata configuration file. In addition to the comments describing all
|
# Suricata configuration file. In addition to the comments describing all
|
||||||
# options in this file, full documentation can be found at:
|
# options in this file, full documentation can be found at:
|
||||||
|
|||||||
Reference in New Issue
Block a user