From facd525692f1ea8f46136d68bf89cda683460373 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 7 Mar 2025 18:05:05 +0100 Subject: [PATCH] eve-parity: merge $ref props into current object Allows for a "suricata" entry along with a "$ref". --- scripts/eve-parity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/eve-parity.py b/scripts/eve-parity.py index 3fbe1a03ff..1af50f5616 100755 --- a/scripts/eve-parity.py +++ b/scripts/eve-parity.py @@ -88,7 +88,7 @@ def load_schema(): ref = find_ref(schema, props["$ref"]) if not ref: raise Exception("$ref not found: {}".format(props["$ref"])) - props = ref + props = props | ref if props["type"] in ["string", "integer", "boolean", "number"]: # End of the line... key = ".".join(path + [name]) -- 2.47.2