Files
falco/userspace/engine/lua
Mark Stemm 8ac6ea732e Add plugin version compat w/ rules files
When loading rules, parse a required_plugin_versions item that looks
like:

- required_plugin_versions:
  - name: cloudtrail
    version: 1.0.1

And save it in the engine.

A new method is_plugin_compatible() takes a plugin and version and
returns whether it's compatible with all required_plugin_versions
blocks in all rules files.

In falco, after loading rules and plugins, iterate over the result of
plugin_infos(), calling is_plugin_compatible(), and exiting if any are
not compatible.
2021-07-27 13:34:03 -05:00
..
2019-10-08 16:02:26 +02:00
2019-10-08 16:02:26 +02:00
2019-11-14 10:00:36 -08:00

Installation

The grammar uses the lpeg parser. For now install it using luarocks: luarocks install lpeg.