From b9cd802e86972a3b802358f0f05fc967ea59e236 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 23 May 2024 14:52:46 +0200 Subject: [PATCH] eve/schema: complete and reorder smtp fields received and cc were missing (cherry picked from commit 8d4699fbba46ff1e75a21be3701776bd936afb9e) --- etc/schema.json | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/etc/schema.json b/etc/schema.json index f733627042..531a09afd8 100644 --- a/etc/schema.json +++ b/etc/schema.json @@ -1327,12 +1327,35 @@ "body_md5": { "type": "string" }, + "cc": { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, "date": { "type": "string" }, "from": { "type": "string" }, + "has_exe_url": { + "type": "boolean" + }, + "has_ipv4_url": { + "type": "boolean" + }, + "has_ipv6_url": { + "type": "boolean" + }, + "received": { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, "status": { "type": "string" }, @@ -1342,39 +1365,30 @@ "subject_md5": { "type": "string" }, - "x_mailer": { - "type": "string" - }, - "url": { + "to": { "type": "array", "minItems": 1, "items": { "type": "string" } }, - "attachment": { + "url": { "type": "array", "minItems": 1, "items": { "type": "string" } }, - "to": { + "x_mailer": { + "type": "string" + }, + "attachment": { "type": "array", "minItems": 1, "items": { "type": "string" } }, - "has_ipv6_url": { - "type": "boolean" - }, - "has_ipv4_url": { - "type": "boolean" - }, - "has_exe_url": { - "type": "boolean" - }, "message_id": { "type": "string" } -- 2.47.2