mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-24 17:08:52 +00:00
Revert "fix(engine): apply output substitutions for all sources"
This reverts commit 4ef7c9553a
.
Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
This commit is contained in:
parent
2117f3031d
commit
160e35e801
@ -509,7 +509,10 @@ void rule_loader::compiler::compile_rule_infos(
|
|||||||
|
|
||||||
// build rule output message
|
// build rule output message
|
||||||
rule.output = r.output;
|
rule.output = r.output;
|
||||||
|
if (r.source == falco_common::syscall_source)
|
||||||
|
{
|
||||||
apply_output_substitutions(cfg, rule.output);
|
apply_output_substitutions(cfg, rule.output);
|
||||||
|
}
|
||||||
|
|
||||||
// validate the rule's output
|
// validate the rule's output
|
||||||
if(!is_format_valid(*cfg.sources.at(r.source), rule.output, err))
|
if(!is_format_valid(*cfg.sources.at(r.source), rule.output, err))
|
||||||
|
Loading…
Reference in New Issue
Block a user