From ec9a963a4111a05e45272a216593f238bc85830f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Wed, 4 Oct 2023 13:14:13 +0200 Subject: [PATCH] More formatting --- ecs/vulnerability-detector/fields/subset.yml | 4 ++-- .../fields/template-settings-legacy.json | 9 +++++---- ecs/vulnerability-detector/fields/template-settings.json | 4 +++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ecs/vulnerability-detector/fields/subset.yml b/ecs/vulnerability-detector/fields/subset.yml index 8ef4bde40e2f8..2c8dc0ca3b30f 100644 --- a/ecs/vulnerability-detector/fields/subset.yml +++ b/ecs/vulnerability-detector/fields/subset.yml @@ -12,8 +12,8 @@ fields: package: fields: "*" host: - fields: + fields: os: fields: "*" vulnerability: - fields: "*" \ No newline at end of file + fields: "*" diff --git a/ecs/vulnerability-detector/fields/template-settings-legacy.json b/ecs/vulnerability-detector/fields/template-settings-legacy.json index 51d9a6e80b4ad..3cf309406aa61 100644 --- a/ecs/vulnerability-detector/fields/template-settings-legacy.json +++ b/ecs/vulnerability-detector/fields/template-settings-legacy.json @@ -1,9 +1,11 @@ { - "index_patterns": ["wazuh-states-vulnerabilities"], + "index_patterns": [ + "wazuh-states-vulnerabilities" + ], "order": 1, "settings": { "index": { - "codec" : "best_compression", + "codec": "best_compression", "mapping": { "total_fields": { "limit": 1000 @@ -12,5 +14,4 @@ "refresh_interval": "2s" } } -} - +} \ No newline at end of file diff --git a/ecs/vulnerability-detector/fields/template-settings.json b/ecs/vulnerability-detector/fields/template-settings.json index b0376b562f775..6438884e99c26 100644 --- a/ecs/vulnerability-detector/fields/template-settings.json +++ b/ecs/vulnerability-detector/fields/template-settings.json @@ -1,5 +1,7 @@ { - "index_patterns": ["wazuh-states-vulnerabilities"], + "index_patterns": [ + "wazuh-states-vulnerabilities" + ], "priority": 1, "template": { "settings": {