From fffa398db03a95fa4d8e4c48b1e643fe5d61aa69 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Fri, 8 Sep 2023 17:14:53 +0200 Subject: [PATCH] update(userspace/engine): align `%container.info` defaults with new rule styles Signed-off-by: Leonardo Grasso --- userspace/engine/rule_loader_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/engine/rule_loader_compiler.cpp b/userspace/engine/rule_loader_compiler.cpp index 1986d9c3ce8..e6aa90a3c8b 100644 --- a/userspace/engine/rule_loader_compiler.cpp +++ b/userspace/engine/rule_loader_compiler.cpp @@ -28,7 +28,7 @@ limitations under the License. #define THROW(cond, err, ctx) { if ((cond)) { throw rule_loader::rule_load_exception(falco::load_result::LOAD_ERR_VALIDATE, (err), (ctx)); } } static std::string s_container_info_fmt = "%container.info"; -static std::string s_default_extra_fmt = "%container.name (id=%container.id)"; +static std::string s_default_extra_fmt = "container_id=%container.id container_name=%container.name"; using namespace libsinsp::filter;