Usage: cli.py extraction create [OPTIONS]
Create a extraction rule.
Options:
-n, --name TEXT The name of the extraction. [required]
-d, --description TEXT The description of the extraction.
-p, --priority INTEGER RANGE The priority of the extraction, higher
priority means this rule will execute first.
[0<=x<=100]
--pre BOOLEAN Whether this rule should be applied before or
after the alert is standardized.
-a, --attribute TEXT Event attribute name to extract from.
[required]
-r, --regex TEXT The regex rule to extract by. Regex format
should be like python regex pattern for group
matching. [required]
-c, --condition TEXT CEL based condition. [required]
--help Show this message and exit.