diff --git a/userspace/engine/falco_engine.cpp b/userspace/engine/falco_engine.cpp index 39ab9f0b..4f04aba7 100644 --- a/userspace/engine/falco_engine.cpp +++ b/userspace/engine/falco_engine.cpp @@ -274,6 +274,11 @@ void falco_engine::evttypes_for_ruleset(std::string &source, std::set } +void falco_engine::evttypes_for_ruleset(std::string &source, std::set &evttypes) +{ + evttypes_for_ruleset(source, evttypes, m_default_ruleset); +} + std::shared_ptr falco_engine::create_formatter(const std::string &source, const std::string &output) { diff --git a/userspace/engine/falco_engine.h b/userspace/engine/falco_engine.h index 352bcb67..570df791 100644 --- a/userspace/engine/falco_engine.h +++ b/userspace/engine/falco_engine.h @@ -204,6 +204,10 @@ public: std::set &evttypes, const std::string &ruleset); + // Assuming default ruleset + void evttypes_for_ruleset(std::string &source, + std::set &evttypes); + // // Given a source and output string, return an // gen_event_formatter that can format output strings for an