Created
October 25, 2020 10:33
-
-
Save leogr/153220d08c1089bd72bbb47552bb130f to your computer and use it in GitHub Desktop.
A Falco rule skeleton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A Falco rules file is a YAML file containing three types of elements: | |
# | |
# - rule: Conditions under which an alert should be generated. | |
# A rule is accompanied by a descriptive output string that is sent with the alert. | |
# | |
# - macro: Rule condition snippets that can be re-used inside rules and even other macros. | |
# Macros provide a way to name common patterns and factor out redundancies in rules. | |
# | |
# - list: Collections of items that can be included in rules, macros, or other lists. | |
# Unlike rules and macros, lists cannot be parsed as filtering expressions. | |
- rule: # A short, unique name for the rule | |
desc: # A longer description of what the rule detects | |
condition: # A filtering expression that is applied against events | |
output: # Specifies the message that should be output if a matching event occurs | |
priority: # EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, etc... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment