From: Philippe Antoine Date: Thu, 23 May 2024 12:52:46 +0000 (+0200) Subject: eve/schema: complete and reorder smtp fields X-Git-Tag: suricata-7.0.6~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9cd802e86972a3b802358f0f05fc967ea59e236;p=thirdparty%2Fsuricata.git eve/schema: complete and reorder smtp fields received and cc were missing (cherry picked from commit 8d4699fbba46ff1e75a21be3701776bd936afb9e) --- 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" }