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

etc/schema.json

index 981610b250ea54783dc093afdd09607d5e6cc399..4924f5982bead80da2832b810ecf1fd293b9c56c 100644 (file)
@@ -51,6 +51,9 @@
         "icmp_type": {
             "type": "integer"
         },
+        "in_iface": {
+            "type": "string"
+        },
         "log_level": {
             "type": "string"
         },
                     "description": "Suricata engine's uptime",
                     "type": "integer"
                 },
+                "capture": {
+                    "type": "object",
+                    "properties": {
+                        "kernel_packets": {
+                            "type": "integer"
+                        },
+                        "kernel_drops": {
+                            "type": "integer"
+                        },
+                        "kernel_ifdrops": {
+                            "type": "integer"
+                        }
+                    }
+                },
                 "memcap_pressure": {
                     "description": "Percentage of memcaps used by flow, stream, stream-reassembly and app-layer-http",
                     "type": "integer"