mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-17 22:42:51 +01:00
Merge pull request #9189 from Security-Onion-Solutions/feature/filebeat_config_ics_event_tag_2_4
Add 'ics' tag to events generated from ICS protocol logs
This commit is contained in:
@@ -145,6 +145,10 @@ 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*') %}
|
||||||
|
- add_tags:
|
||||||
|
tags: ["ics"]
|
||||||
|
{%- endif %}
|
||||||
- drop_fields:
|
- drop_fields:
|
||||||
fields: ["source", "prospector", "input", "offset", "beat"]
|
fields: ["source", "prospector", "input", "offset", "beat"]
|
||||||
|
|
||||||
@@ -162,6 +166,10 @@ 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*') %}
|
||||||
|
- add_tags:
|
||||||
|
tags: ["ics"]
|
||||||
|
{%- endif %}
|
||||||
- add_tags:
|
- add_tags:
|
||||||
tags: ["import"]
|
tags: ["import"]
|
||||||
- dissect:
|
- dissect:
|
||||||
|
|||||||
Reference in New Issue
Block a user