From 4b1d812743fd3ed0f2e4e7c523b918a29f5370dd Mon Sep 17 00:00:00 2001 From: quebim Date: Fri, 29 Nov 2024 14:28:09 -0300 Subject: [PATCH] Remove host fields at root level from stateful indices definitions --- ecs/states-fim/fields/subset.yml | 2 -- ecs/states-inventory-hardware/fields/subset.yml | 2 -- ecs/states-inventory-hotfixes/fields/subset.yml | 2 -- ecs/states-inventory-networks/fields/subset.yml | 2 -- ecs/states-inventory-packages/fields/subset.yml | 2 -- ecs/states-inventory-ports/fields/subset.yml | 2 -- ecs/states-inventory-processes/fields/subset.yml | 2 -- ecs/states-vulnerabilities/fields/subset.yml | 2 -- 8 files changed, 16 deletions(-) diff --git a/ecs/states-fim/fields/subset.yml b/ecs/states-fim/fields/subset.yml index a9e6f01ce45b0..fd2b14f8e9fc6 100644 --- a/ecs/states-fim/fields/subset.yml +++ b/ecs/states-fim/fields/subset.yml @@ -33,8 +33,6 @@ fields: type: {} uid: {} owner: {} - host: - fields: "*" registry: fields: key: {} diff --git a/ecs/states-inventory-hardware/fields/subset.yml b/ecs/states-inventory-hardware/fields/subset.yml index da5a194e26ddf..609d4a0050acd 100644 --- a/ecs/states-inventory-hardware/fields/subset.yml +++ b/ecs/states-inventory-hardware/fields/subset.yml @@ -17,5 +17,3 @@ fields: observer: fields: serial_number: {} - host: - fields: "*" diff --git a/ecs/states-inventory-hotfixes/fields/subset.yml b/ecs/states-inventory-hotfixes/fields/subset.yml index 7bb4f66950326..3cbf6f38f132f 100644 --- a/ecs/states-inventory-hotfixes/fields/subset.yml +++ b/ecs/states-inventory-hotfixes/fields/subset.yml @@ -14,8 +14,6 @@ fields: version: {} host: fields: "*" - host: - fields: "*" package: fields: hotfix: diff --git a/ecs/states-inventory-networks/fields/subset.yml b/ecs/states-inventory-networks/fields/subset.yml index 24392a19582a2..48d90261e03ac 100644 --- a/ecs/states-inventory-networks/fields/subset.yml +++ b/ecs/states-inventory-networks/fields/subset.yml @@ -14,8 +14,6 @@ fields: version: {} host: fields: "*" - host: - fields: "*" interface: fields: mtu: {} diff --git a/ecs/states-inventory-packages/fields/subset.yml b/ecs/states-inventory-packages/fields/subset.yml index f2fdfb2fad9a0..00ebd0b231be4 100644 --- a/ecs/states-inventory-packages/fields/subset.yml +++ b/ecs/states-inventory-packages/fields/subset.yml @@ -14,8 +14,6 @@ fields: version: {} host: fields: "*" - host: - fields: "*" package: fields: architecture: "" diff --git a/ecs/states-inventory-ports/fields/subset.yml b/ecs/states-inventory-ports/fields/subset.yml index 549917083aaa8..54a87eef42b81 100644 --- a/ecs/states-inventory-ports/fields/subset.yml +++ b/ecs/states-inventory-ports/fields/subset.yml @@ -24,8 +24,6 @@ fields: file: fields: inode: {} - host: - fields: "*" network: fields: protocol: {} diff --git a/ecs/states-inventory-processes/fields/subset.yml b/ecs/states-inventory-processes/fields/subset.yml index 55693facfee71..16ccccb2dfb9a 100644 --- a/ecs/states-inventory-processes/fields/subset.yml +++ b/ecs/states-inventory-processes/fields/subset.yml @@ -14,8 +14,6 @@ fields: version: {} host: fields: "*" - host: - fields: "*" process: fields: pid: {} diff --git a/ecs/states-vulnerabilities/fields/subset.yml b/ecs/states-vulnerabilities/fields/subset.yml index d0b44d3a712f1..2981f226f774d 100644 --- a/ecs/states-vulnerabilities/fields/subset.yml +++ b/ecs/states-vulnerabilities/fields/subset.yml @@ -15,8 +15,6 @@ fields: fields: "*" package: fields: "*" - host: - fields: "*" vulnerability: fields: "*" wazuh: