[Bro-Dev] design summary: porting Bro scripts to use Broker
johanna at icir.org
Tue Oct 10 12:10:55 PDT 2017
> Script-Author Example Usage
> # Script author that wants to utilize data stores doesn't have to be aware of
> # whether user is running a cluster or if they want to use persistent storage
> # backends.
> const Software::tracked_store_name = "bro/framework/software/tracked" &redef;
> global Software::tracked_store: opaque of Broker::Store;
> event bro_init() &priority = +10
> Software::tracked_store = Broker::InitStore(Software::tracked_store_name);
I hope that this was not already answered somewhere else and I just missed
it - after you set up a store with Broker::InitStore, how do you interact
I am especially curious how this handles the strong typing of Bro.
More information about the bro-dev