Merge pull request #9232 from Security-Onion-Solutions/fix/filebeat_ics_tag_bsap

Add 'ics' tag for 'bsap'-prefixed events/logs
This commit is contained in:
weslambert
2022-11-29 11:37:18 -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*|^bsap*|^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*|^bsap*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*|^profinet*|^s7comm*') %}
- add_tags:
tags: ["ics"]
{%- endif %}