mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #9194 from Security-Onion-Solutions/fix/ics_tag_syntax_error_2_4
Fix syntax error for 'ics' tag logic
This commit is contained in:
@@ -145,7 +145,7 @@ filebeat.inputs:
|
|||||||
dataset: {{ LOGNAME }}
|
dataset: {{ LOGNAME }}
|
||||||
category: network
|
category: network
|
||||||
processors:
|
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:
|
- add_tags:
|
||||||
tags: ["ics"]
|
tags: ["ics"]
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
@@ -166,7 +166,7 @@ filebeat.inputs:
|
|||||||
category: network
|
category: network
|
||||||
imported: true
|
imported: true
|
||||||
processors:
|
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:
|
- add_tags:
|
||||||
tags: ["ics"]
|
tags: ["ics"]
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user