Verifying rule names can have spaces.

Related to discussion on https://github.com/draios/agent/pull/160,
verifying we can have rule names with spaces.
This commit is contained in:
Mark Stemm
2016-08-22 19:34:54 -07:00
parent fa4c2948bf
commit 81a145fd4f
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
- macro: is_cat
condition: proc.name=cat
- rule: Open From Cat
desc: A process named cat does an open
condition: evt.type=open and is_cat
output: "An open was seen (command=%proc.cmdline)"
priority: WARNING