mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-01 22:47:46 +00:00
Add a default ruleset version of evttypes_for_ruleset
This allows for working with the default ruleset like other methods. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
parent
230c22b674
commit
cc43c721c9
@ -274,6 +274,11 @@ void falco_engine::evttypes_for_ruleset(std::string &source, std::set<uint16_t>
|
||||
|
||||
}
|
||||
|
||||
void falco_engine::evttypes_for_ruleset(std::string &source, std::set<uint16_t> &evttypes)
|
||||
{
|
||||
evttypes_for_ruleset(source, evttypes, m_default_ruleset);
|
||||
}
|
||||
|
||||
std::shared_ptr<gen_event_formatter> falco_engine::create_formatter(const std::string &source,
|
||||
const std::string &output)
|
||||
{
|
||||
|
@ -204,6 +204,10 @@ public:
|
||||
std::set<uint16_t> &evttypes,
|
||||
const std::string &ruleset);
|
||||
|
||||
// Assuming default ruleset
|
||||
void evttypes_for_ruleset(std::string &source,
|
||||
std::set<uint16_t> &evttypes);
|
||||
|
||||
//
|
||||
// Given a source and output string, return an
|
||||
// gen_event_formatter that can format output strings for an
|
||||
|
Loading…
Reference in New Issue
Block a user