mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #9234 from Security-Onion-Solutions/fix/add_dnp3_control_ingest_pipeline
Add 'zeek.dnp3_control' ingest pipeline
This commit is contained in:
@@ -58,6 +58,7 @@ whiptail_manager_adv_service_zeeklogs() {
|
||||
"cip_identity" "" ON \
|
||||
"cip_io" "" ON \
|
||||
"cotp" "" ON \
|
||||
"dnp3_control" "" ON \
|
||||
"dnp3_objects" "" ON \
|
||||
"ecat_aoe_info" "" ON \
|
||||
"ecat_arp_info" "" ON \
|
||||
|
||||
16
salt/elasticsearch/files/ingest/zeek.dnp3_control
Normal file
16
salt/elasticsearch/files/ingest/zeek.dnp3_control
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"description" : "zeek.dnp3_control",
|
||||
"processors" : [
|
||||
{ "remove": { "field": ["host"], "ignore_failure": true } },
|
||||
{ "json": { "field": "message", "target_field": "message2", "ignore_failure": true } },
|
||||
{ "rename": { "field": "message2.block_type", "target_field": "dnp3.block_type", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.function_code", "target_field": "dnp3.function_code", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.index_number", "target_field": "dnp3.index_number", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.trip_control_code","target_field": "dnp3.trip_control_code", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.operation_type", "target_field": "dnp3.operation_type", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.execute_count", "target_field": "dnp3.execute_count", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.on_time", "target_field": "dnp3.on_time", "ignore_missing": true } },
|
||||
{ "rename": { "field": "message2.off_time", "target_field": "dnp3.off_time", "ignore_missing": true } },
|
||||
{ "pipeline": { "name": "zeek.common" } }
|
||||
]
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
"::dce_rpc": ["soc_timestamp", "source.ip", "source.port", "destination.ip", "destination.port", "dce_rpc.endpoint", "dce_rpc.named_pipe", "dce_rpc.operation", "log.id.uid" ],
|
||||
"::dhcp": ["soc_timestamp", "client.address", "server.address", "host.domain", "host.hostname", "dhcp.message_types", "log.id.uid" ],
|
||||
"::dnp3": ["soc_timestamp", "source.ip", "source.port", "destination.ip", "destination.port", "dnp3.fc_request", "dnp3.fc_reply", "log.id.uid" ],
|
||||
"::dnp3_control": ["soc_timestamp", "source.ip", "source.port", "destination.ip", "destination.port", "dnp3.function_code", "dnp3.block_type", "log.id.uid" ],
|
||||
"::dnp3_objects": ["soc_timestamp", "source.ip", "source.port", "destination.ip", "destination.port", "dnp3.function_code", "dnp3.object_type", "log.id.uid" ],
|
||||
"::dns": ["soc_timestamp", "source.ip", "source.port", "destination.ip", "destination.port", "network.transport", "dns.query.name", "dns.query.type_name", "dns.response.code_name", "log.id.uid", "network.community_id" ],
|
||||
"::dpd": ["soc_timestamp", "source.ip", "source.port", "destination.ip", "destination.port", "network.protocol", "observer.analyser", "error.reason", "log.id.uid" ],
|
||||
|
||||
@@ -2994,6 +2994,7 @@ zeek_logs_enabled() {
|
||||
" - cip_identity"\
|
||||
" - cip_io"\
|
||||
" - cotp"\
|
||||
" - dnp3_control"\
|
||||
" - dnp3_objects"\
|
||||
" - ecat_aoe_info"\
|
||||
" - ecat_coe_info"\
|
||||
|
||||
@@ -1328,6 +1328,7 @@ whiptail_manager_adv_service_zeeklogs() {
|
||||
"cip_identity" "" ON \
|
||||
"cip_io" "" ON \
|
||||
"cotp" "" ON \
|
||||
"dnp3_control" "" ON \
|
||||
"dnp3_objects" "" ON \
|
||||
"ecat_aoe_info" "" ON \
|
||||
"ecat_arp_info" "" ON \
|
||||
|
||||
Reference in New Issue
Block a user