From 57e411fe76bfb93f9484fd4dd3d0d5298f30b111 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Wed, 7 Jul 2021 14:43:43 +0200 Subject: [PATCH] update(events/syscall): ChangeThreadNamespace disabled by default Signed-off-by: Leonardo Grasso --- events/syscall/change_thread_namespace.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/events/syscall/change_thread_namespace.go b/events/syscall/change_thread_namespace.go index 18418cca..6320e634 100644 --- a/events/syscall/change_thread_namespace.go +++ b/events/syscall/change_thread_namespace.go @@ -8,7 +8,10 @@ import ( "github.com/falcosecurity/event-generator/events" ) -var _ = events.Register(ChangeThreadNamespace) +var _ = events.Register( + ChangeThreadNamespace, + events.WithDisabled(), // the rule is not enabled by default, so disable the action too +) func ChangeThreadNamespace(h events.Helper) error { // It doesn't matter that the arguments to Setns are