Skip to content

Commit

Permalink
update(events/syscall): ChangeThreadNamespace disabled by default
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr authored and poiana committed Jan 21, 2022
1 parent ce756e1 commit 57e411f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion events/syscall/change_thread_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57e411f

Please sign in to comment.