mirror of
https://github.com/falcosecurity/falco.git
synced 2026-04-04 19:15:26 +00:00
update(userspace/falco): sync falco with new engine definitions
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
@@ -123,9 +123,6 @@ application::run_result application::load_rules_files()
|
||||
return run_result::fatal(plugin_vers_err);
|
||||
}
|
||||
|
||||
// Free-up memory for the rule loader, which is not used from now on
|
||||
m_state->engine->clear_loader();
|
||||
|
||||
for (const auto& substring : m_options.disabled_rule_substrings)
|
||||
{
|
||||
falco_logger::log(LOG_INFO, "Disabling rules matching substring: " + substring + "\n");
|
||||
|
||||
@@ -26,6 +26,9 @@ typedef std::function<void(std::shared_ptr<sinsp> inspector)> open_t;
|
||||
|
||||
application::run_result application::open_inspector()
|
||||
{
|
||||
// Notify engine that we finished loading and enabling all rules
|
||||
m_state->engine->complete_rule_loading();
|
||||
|
||||
if(is_capture_mode())
|
||||
{
|
||||
// Try to open the trace file as a
|
||||
|
||||
Reference in New Issue
Block a user