mirror of
https://github.com/falcosecurity/falco.git
synced 2026-01-15 14:55:42 +00:00
Fix a couple of small bugs when verifying macro/rule objects: 1) Yaml can have document separators "---", and those were mistakenly being considered array items. 2) When reading macros and rules and using array position to find the right document offset, the overall object order should be used (e.g. this is the 5th object from the file) and not the array position (e.g. this is the 3rd rule from the file). Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Installation
The sysdig grammar uses the lpeg parser. For now install it using luarocks:
luarocks install lpeg.