You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mapping Zeek's records to Broker's data model expects records as a tuple of values, with each member in its own Broker-model rendering. The vector must cover the full list of fields, including Nones for optional ones.
This actually works. Assuming
typeFoo: record {
bar: string;
baz: count;
};
...we could construct a value like this:
encoding.Vector(
encoding.String("value of bar"),
encoding.Count(42),
)
We could add support to go-zeek-broker-ws to encode Go structs in this manner, but given the discussion referenced above: should we?
The text was updated successfully, but these errors were encountered:
From zeek/zeek/discussions/2879:
This actually works. Assuming
...we could construct a value like this:
We could add support to go-zeek-broker-ws to encode Go structs in this manner, but given the discussion referenced above: should we?
The text was updated successfully, but these errors were encountered: