Refactor for ESQL

This commit is contained in:
defensivedepth
2026-09-17 07:56:42 -04:00
parent a8785870af
commit 1fc5bb7afa
3 changed files with 31 additions and 0 deletions
+1
View File
@@ -1465,6 +1465,7 @@ soc:
- core
- emerging_threats_addon
useEsql: false
caseInsensitive: true
elastic:
hostUrl:
remoteHostUrls: []
+25
View File
@@ -1,6 +1,31 @@
name: Security Onion Baseline Pipeline
priority: 90
transformations:
# ES|QL scalar == returns null on multivalued fields; the
# backend reads this key and emits MV_INTERSECTS instead.
- id: declare_multivalue_fields
type: set_state
key: multivalue_fields
val:
- event.type
- event.action
- event.category
- tags
- process.args
- related.ip
- dns.resolved_ip
- id: esql_default_index
type: set_state
key: index
val: .ds-logs-*
- id: esql_source_metadata
type: set_state
key: metadata
val: "_id, _index, _source"
- id: esql_source_keep
type: set_state
key: keep
val: "_id, _index, _source"
- id: baseline_field_name_mapping
type: field_name_mapping
mapping:
+5
View File
@@ -396,6 +396,11 @@ soc:
global: True
advanced: True
forcedType: bool
caseInsensitive:
description: "Match string values case-insensitively. Applies to ES|QL only."
global: True
advanced: True
forcedType: bool
elastic:
index:
description: Comma-separated list of indices or index patterns (wildcard "*" supported) that SOC will search for records.