From: Jason Ish Date: Thu, 8 Sep 2022 18:08:26 +0000 (-0600) Subject: eve/schema: bittorrent-dht updates X-Git-Tag: suricata-7.0.0-rc1~427 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e7d007b204ba4f6f5a1c825cd989f4bc71ae6d;p=thirdparty%2Fsuricata.git eve/schema: bittorrent-dht updates Some values that were previously strings are now parsed down into objects. --- diff --git a/etc/schema.json b/etc/schema.json index e4b097bd77..cbfae61eb5 100644 --- a/etc/schema.json +++ b/etc/schema.json @@ -354,8 +354,51 @@ "optional": false }, "nodes": { - "type": "string", - "optional": true + "type": "array", + "optional": true, + "items": { + "type": "object", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "optional": false + }, + "ip": { + "type": "string", + "optional": false + }, + "port": { + "type": "number", + "optional": false + } + } + } + } + }, + "nodes6": { + "type": "array", + "optional": true, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "optional": false + }, + "ip": { + "type": "string", + "optional": false + }, + "port": { + "type": "number", + "optional": false + } + } + } }, "token": { "type": "string", @@ -365,7 +408,7 @@ "type": "array", "optional": true, "items": { - "type": "string" + "type": "object" } } }