mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
update analyzer pipeline
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"description": "zeek.dpd",
|
"description": "zeek.analyzer",
|
||||||
"processors": [
|
"processors": [
|
||||||
{
|
{
|
||||||
"set": {
|
"set": {
|
||||||
"field": "event.dataset",
|
"field": "event.dataset",
|
||||||
"value": "dpd"
|
"value": "analyzer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -23,75 +23,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dot_expander": {
|
"set": {
|
||||||
"field": "id.orig_h",
|
"field": "network.protocol",
|
||||||
"path": "message2",
|
"copy_from": "message2.analyzer_name",
|
||||||
|
"ignore_empty_value": true,
|
||||||
|
"if": "ctx?.message2?.analyzer_kind == 'protocol'"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"set": {
|
||||||
|
"field": "network.protocol",
|
||||||
|
"ignore_empty_value": true,
|
||||||
|
"if": "ctx?.message2?.analyzer_kind != 'protocol'",
|
||||||
|
"copy_from": "message2.proto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"lowercase": {
|
||||||
|
"field": "network.protocol",
|
||||||
|
"ignore_missing": true,
|
||||||
"ignore_failure": true
|
"ignore_failure": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"rename": {
|
|
||||||
"field": "message2.id.orig_h",
|
|
||||||
"target_field": "source.ip",
|
|
||||||
"ignore_missing": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"dot_expander": {
|
|
||||||
"field": "id.orig_p",
|
|
||||||
"path": "message2",
|
|
||||||
"ignore_failure": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rename": {
|
|
||||||
"field": "message2.id.orig_p",
|
|
||||||
"target_field": "source.port",
|
|
||||||
"ignore_missing": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"dot_expander": {
|
|
||||||
"field": "id.resp_h",
|
|
||||||
"path": "message2",
|
|
||||||
"ignore_failure": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rename": {
|
|
||||||
"field": "message2.id.resp_h",
|
|
||||||
"target_field": "destination.ip",
|
|
||||||
"ignore_missing": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"dot_expander": {
|
|
||||||
"field": "id.resp_p",
|
|
||||||
"path": "message2",
|
|
||||||
"ignore_failure": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rename": {
|
|
||||||
"field": "message2.id.resp_p",
|
|
||||||
"target_field": "destination.port",
|
|
||||||
"ignore_missing": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rename": {
|
|
||||||
"field": "message2.proto",
|
|
||||||
"target_field": "network.protocol",
|
|
||||||
"ignore_missing": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rename": {
|
|
||||||
"field": "message2.analyzer",
|
|
||||||
"target_field": "observer.analyzer",
|
|
||||||
"ignore_missing": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"rename": {
|
"rename": {
|
||||||
"field": "message2.failure_reason",
|
"field": "message2.failure_reason",
|
||||||
|
|||||||
Reference in New Issue
Block a user