]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
schema: Add stats.capture and in_iface properties
authorArne Welzel <arne.welzel@corelight.com>
Tue, 20 Feb 2024 11:50:40 +0000 (12:50 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 16 Apr 2024 13:19:06 +0000 (15:19 +0200)
New suricata-verify test listens on loopback interface, resulting
in the capture and in_iface fields in the stats and event objects.

(cherry picked from commit f9cf87a003d273ec175590e2ffec053d2672af95)

etc/schema.json

index e01c6828c3c81378fa5dd4032777e01fed927256..960de2136fa40f5c0c67208dcc441aecda7d9759 100644 (file)
@@ -51,6 +51,9 @@
         "icmp_type": {
             "type": "integer"
         },
+        "in_iface": {
+            "type": "string"
+        },
         "log_level": {
             "type": "string"
         },
                 "uptime": {
                     "type": "integer"
                 },
+                "capture": {
+                    "type": "object",
+                    "properties": {
+                        "kernel_packets": {
+                            "type": "integer"
+                        },
+                        "kernel_drops": {
+                            "type": "integer"
+                        },
+                        "kernel_ifdrops": {
+                            "type": "integer"
+                        }
+                    }
+                },
                 "memcap_pressure": {
                     "type": "integer"
                 },