eve-parity: merge $ref props into current object

Allows for a "suricata" entry along with a "$ref".
pull/12743/head
Jason Ish 1 year ago committed by Victor Julien
parent 744f301df4
commit facd525692

@ -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])

Loading…
Cancel
Save