diff --git a/src/wazuh_modules/vulnerability_scanner/indexer/template/legacy-template.json b/src/wazuh_modules/vulnerability_scanner/indexer/template/legacy-template.json index bfa45f130cf..77f2a3334f2 100644 --- a/src/wazuh_modules/vulnerability_scanner/indexer/template/legacy-template.json +++ b/src/wazuh_modules/vulnerability_scanner/indexer/template/legacy-template.json @@ -192,6 +192,9 @@ "ignore_above": 1024, "type": "keyword" }, + "detected_at": { + "type": "date" + }, "enumeration": { "ignore_above": 1024, "type": "keyword" @@ -200,6 +203,9 @@ "ignore_above": 1024, "type": "keyword" }, + "published_at": { + "type": "date" + }, "reference": { "ignore_above": 1024, "type": "keyword" @@ -253,9 +259,6 @@ } } }, - "detected_at": { - "type": "date" - }, "manager": { "properties": { "name": { @@ -264,9 +267,6 @@ } } }, - "published_at": { - "type": "date" - }, "schema": { "properties": { "version": {