mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #10465 from Security-Onion-Solutions/suricataimport
dont apply suricata.enabled on import nodes
This commit is contained in:
@@ -3,11 +3,15 @@
|
||||
# https://securityonion.net/license; you may not use this file except in compliance with the
|
||||
# Elastic License 2.0.
|
||||
|
||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||
{% from 'suricata/map.jinja' import SURICATAMERGED %}
|
||||
|
||||
include:
|
||||
{% if SURICATAMERGED.enabled %}
|
||||
{% if SURICATAMERGED.enabled and GLOBALS.role != 'so-import' %}
|
||||
- suricata.enabled
|
||||
{% elif GLOBALS.role == 'so-import' %}
|
||||
- suricata.config
|
||||
- suricata.disabled
|
||||
{% else %}
|
||||
- suricata.disabled
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user