mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-12 13:07:49 +00:00
update(userspace/engine): introduce new rule_reader class
The rule_reader class is responsible of parsing the YAML ruleset text and of using the rule_loader to store the new definition in the internal state. This is a first step towards separating the YAML reading logic from the rule parsing one. Potentially, this will allow us to read rulesets from another YAML library or from something different than YAML files too. Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
@@ -19,6 +19,7 @@ set(FALCO_ENGINE_SOURCE_FILES
|
||||
formats.cpp
|
||||
filter_macro_resolver.cpp
|
||||
rule_loader.cpp
|
||||
rule_reader.cpp
|
||||
stats_manager.cpp)
|
||||
|
||||
add_library(falco_engine STATIC ${FALCO_ENGINE_SOURCE_FILES})
|
||||
|
Reference in New Issue
Block a user