mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-08 09:37:58 +00:00
chore(userspace/engine): apply codespell suggestions
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
aae114c331
commit
d3e1a1f746
@ -800,7 +800,7 @@ void falco_engine::get_json_details(
|
|||||||
out["details"]["condition_compiled"] = libsinsp::filter::ast::as_string(m.condition.get());
|
out["details"]["condition_compiled"] = libsinsp::filter::ast::as_string(m.condition.get());
|
||||||
|
|
||||||
// Compute the plugins that are actually used by this macro.
|
// Compute the plugins that are actually used by this macro.
|
||||||
// Note: macros have no specidic source, we need to set an empty list of used
|
// Note: macros have no specific source, we need to set an empty list of used
|
||||||
// plugins because we can't be certain about their actual usage. For example,
|
// plugins because we can't be certain about their actual usage. For example,
|
||||||
// if a macro uses a plugin's field, we can't be sure which plugin actually
|
// if a macro uses a plugin's field, we can't be sure which plugin actually
|
||||||
// is used until we resolve the macro ref in a rule providing a source for
|
// is used until we resolve the macro ref in a rule providing a source for
|
||||||
|
@ -485,7 +485,7 @@ void rule_loader::compiler::compile_rule_infos(
|
|||||||
r.output_ctx);
|
r.output_ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
// validate the rule's condiiton: we compile it into a sinsp filter
|
// validate the rule's condition: we compile it into a sinsp filter
|
||||||
// on-the-fly and we throw an exception with details on failure
|
// on-the-fly and we throw an exception with details on failure
|
||||||
sinsp_filter_compiler compiler(cfg.sources.at(r.source)->filter_factory, rule.condition.get());
|
sinsp_filter_compiler compiler(cfg.sources.at(r.source)->filter_factory, rule.condition.get());
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user