Skip to content

Commit 57e411f

Browse files
leogrpoiana
authored andcommitted
update(events/syscall): ChangeThreadNamespace disabled by default
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
1 parent ce756e1 commit 57e411f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

events/syscall/change_thread_namespace.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import (
88
"github.com/falcosecurity/event-generator/events"
99
)
1010

11-
var _ = events.Register(ChangeThreadNamespace)
11+
var _ = events.Register(
12+
ChangeThreadNamespace,
13+
events.WithDisabled(), // the rule is not enabled by default, so disable the action too
14+
)
1215

1316
func ChangeThreadNamespace(h events.Helper) error {
1417
// It doesn't matter that the arguments to Setns are

0 commit comments

Comments
 (0)