Re: [Bro-Dev] [desired broker api as oppose to whats in known-hosts.bro]

2017-03-06 Thread Robin Sommer
On Sat, Mar 04, 2017 at 00:21 +, you wrote: > Broker::exists(Cluster::cluster_store, Broker::data("known_hosts")) > Broker::lookup(Cluster::cluster_store, Broker::data("known_hosts")) > Broker::set_contains(res2$result, Broker::data(host)) > Broker::add_to_set(Cluster::cluster_store, Broker:

Re: [Bro-Dev] [desired broker api as oppose to whats in known-hosts.bro]

2017-03-06 Thread Seth Hall
> On Mar 6, 2017, at 11:43 AM, Robin Sommer wrote: > > Whether we want to go further, like with Aashish's &store proposal, we > can see then, I'm still a bit undecided there. Either way, a better > Bro-side UI for Broker is coming, we just need to get the various > pieces in place first that peo

Re: [Bro-Dev] [desired broker api as oppose to whats in known-hosts.bro]

2017-03-06 Thread Robin Sommer
On Mon, Mar 06, 2017 at 13:24 -0500, you wrote: > I'm playing with rewriting some of the scripts for 2.6 right now with > events because I think that the broker api is too complicated and > could potentially have too many side effects. (like overuse of "when" > for instance). Yeah, that makes s