From c7609192c7c3ea2bff60ee8812234101b5aa6cc5 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 24 Jan 2022 17:15:21 +0100 Subject: [PATCH] Update userspace/engine/lua/rule_loader.lua Signed-off-by: Federico Di Pierro Co-authored-by: Leonardo Grasso --- userspace/engine/lua/rule_loader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/engine/lua/rule_loader.lua b/userspace/engine/lua/rule_loader.lua index 041fe8f1..0d719494 100644 --- a/userspace/engine/lua/rule_loader.lua +++ b/userspace/engine/lua/rule_loader.lua @@ -1061,7 +1061,7 @@ function load_rules(rules_content, num_evttypes = falco_rules.add_filter(rules_mgr, lua_parser, v['rule'], v['source'], v['tags']) if v['source'] == "syscall" and (num_evttypes == 0 or num_evttypes > 100) then if warn_evttypes == true then - msg = "Rule "..v['rule']..": warning (no-evttype):\n".." matches too many evt.type values.\n".." This has a significant performance penalty.\n" + msg = "Rule "..v['rule']..": warning (no-evttype):\n".." matches too many evt.type values.\n".." This has a significant performance penalty." warnings[#warnings + 1] = msg end end