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": {