Add test for enabled flag.

New test case disables a rule that would otherwise match.
This commit is contained in:
Mark Stemm
2016-09-03 08:40:01 -07:00
parent f68fba103e
commit 1db2339ece
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
- 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
enabled: false