btest/plugin: Test custom metadata publish

Usage demo for plugin writers to add custom event metadata and access in
in Zeek scripts.
This commit is contained in:
Arne Welzel 2025-05-26 18:02:23 +02:00
parent 7db03a8c77
commit 0ab53c75cd
9 changed files with 239 additions and 0 deletions

View file

@ -0,0 +1,6 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
0.000000 InitPostScript
0.000000 HookPublishEvent backend=Broker topic=topic1 event=App::test_event
0.000000 HookPublishEvent backend=Broker topic=topic2 event=App::test_event
0.000000 HookPublishEvent backend=Broker topic=topic3 event=App::test_event
0.000000 HookPublishEvent backend=Broker topic=topic4 event=App::test_event