[Bro] bro syntax checking

Zeolla@GMail.com zeolla at gmail.com
Wed Oct 26 06:22:32 PDT 2016

So I've been looking for a cleaner way to check bro syntax via a pre-commit
hook - we currently have bro installed on a server where we commit from
that does a `broctl check`.  I was thinking of doing something small like a
docker instance that can run `broctl check` using a mounted host
directory.  My questions are:

1. Has anybody else already solved this issue?  What are others using to
validate syntax before pushing out changes?
2. Is this <https://hub.docker.com/r/broplatform/bro/> the official bro
docker image?  I pulled it down and was playing around a bit but ran into
an issue but I wasn't sure if this was expected.  Specifically,
/bro/bin/broctl wasn't functional until I installed python, but after
running `apt-get update && apt-get install -y python && /bin/bro/broctl
install` things seemed to be functional.

I did briefly try to peruse the mailing list archive for the past few
months but didn't find what I was looking for.  Thanks,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20161026/fdf4e6e5/attachment.html 

More information about the Bro mailing list