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

2017-03-03 Thread Azoff, Justin S
> On Mar 3, 2017, at 4:36 PM, Aashish Sharma wrote: > > SO I came across a sample of Broker-API usage: Yeah.. there's a lot of things wrong with how that is being done. There are a few things going on here. One is that is no longer functions. I think we should bring this

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

2017-03-03 Thread Aashish Sharma
SO I came across a sample of Broker-API usage: when (local res = Broker::exists(Cluster::cluster_store, Broker::data("known_hosts"))) { local res_bool = Broker::refine_to_bool(res$result); if(res_bool) { when ( local res2 =