zeek/testing/btest/cluster/generic
Arne Welzel d9a74cf32d cluster: Fix Cluster::publish() of Broker::Data
The broker serializer leverages the existing data_to_val() function.
During unserialization, if the destination type is any, the logic
simply wraps the broker::data value into a Broker::Data record.
Therefore, events with any parameters are currently exposed to
the Broker::Data type.

There is a bigger issue in that re-publishing such Broker::Data
instances would encode them as a normal record. Explicitly prevent
this by serializing the contained data value directly instead, similar
to what Broker already did when publishing a record.
2024-12-12 17:54:37 +01:00
..
cluster-publish-errors.zeek cluster: Move publish_hrw() and publish_rr() to cluster.bif 2024-12-10 20:33:02 +01:00
errors.zeek cluster: Add Cluster scoped bifs 2024-11-26 12:58:23 +01:00
logging-rr.zeek btest/generic: Add publish_hrw(), publish_rr() and logging tests 2024-12-10 20:33:02 +01:00
make_event.zeek cluster: Add Cluster scoped bifs 2024-11-26 12:58:23 +01:00
publish-any.zeek cluster: Fix Cluster::publish() of Broker::Data 2024-12-12 17:54:37 +01:00
publish-hrw.zeek btest/generic: Add publish_hrw(), publish_rr() and logging tests 2024-12-10 20:33:02 +01:00
publish-rr.zeek btest/generic: Add publish_hrw(), publish_rr() and logging tests 2024-12-10 20:33:02 +01:00