]> 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>
Tue, 4 Jun 2024 04:28:28 +0000 (06:28 +0200)
received and cc were missing

etc/schema.json

index 276d2c0e1c80d41b176a229c626ff29801189378..4aaa82dd9298892419148f54b776bc7dbd03afd0 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"
                 }