Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digwatch initial implementation #2

Merged
merged 11 commits into from
Feb 21, 2016
Merged

Digwatch initial implementation #2

merged 11 commits into from
Feb 21, 2016

Conversation

henridf
Copy link
Contributor

@henridf henridf commented Feb 21, 2016

With this PR, you can now run digwatch like so

digwatch <rules_file>

and it will load the passed in rules file, containing any number of filters and macros, and print out events that match any of the rules.

basic cmake setup and digwatch binary, mostly pulled from sysdig
Move compiler loading out of libsinsp/lua_parser.cpp and into a new
class in digwatch/rules.cpp.

This way the libsinsp support is strictly about providing a lua API for
scripts to setup filters. Loading the actual parser and rules is logic
that belongs in the app (digwatch in this case, maybe sysdig down the
line) rather than there.
henridf added a commit that referenced this pull request Feb 21, 2016
Digwatch initial implementation
@henridf henridf merged commit 601ad3b into master Feb 21, 2016
@henridf henridf deleted the digwatch-scaffolding branch February 21, 2016 05:27
@jacques- jacques- mentioned this pull request Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant