Merge pull request #9193 from Security-Onion-Solutions/fix/ics_tag_syntax_error

Fix syntax error for 'ics' tag logic
This commit is contained in:
weslambert
2022-11-22 07:32:40 -05:00
committed by GitHub

View File

@@ -144,7 +144,7 @@ filebeat.inputs:
dataset: {{ LOGNAME }}
category: network
processors:
{%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*'|^profinet*'|^s7comm*') %}
{%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*|^profinet*|^s7comm*') %}
- add_tags:
tags: ["ics"]
{%- endif %}
@@ -165,7 +165,7 @@ filebeat.inputs:
category: network
imported: true
processors:
{%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*'|^profinet*'|^s7comm*') %}
{%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*|^profinet*|^s7comm*') %}
- add_tags:
tags: ["ics"]
{%- endif %}