mirror of
https://github.com/falcosecurity/falco.git
synced 2026-04-05 03:22:41 +00:00
When rules are enabled in the falco engine, the argument to
enable_rule() is a regex pattern. That causes problems if the rule name
itself contains regex characters like '(', etc.
To fix this, escape special characters in rule names to create the
pattern passed to enable_rule().
Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
12 KiB
12 KiB