]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/schema: complete and reorder smtp fields
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 23 May 2024 12:52:46 +0000 (14:52 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 21 Jun 2024 08:21:22 +0000 (10:21 +0200)
received and cc were missing

(cherry picked from commit 8d4699fbba46ff1e75a21be3701776bd936afb9e)

etc/schema.json

index f733627042b0cb7202d5b3db8f596cafd07bceb8..531a09afd86b3ff8f84b07b8799960f9953365c8 100644 (file)
                 "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"
                 },
                 "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"
                 }