From 4a9e10fe294c4d724c2a2a8b9bec9ca2f3b0f9c5 Mon Sep 17 00:00:00 2001 From: Miguel Martinez Date: Mon, 14 Jul 2025 15:58:41 +0200 Subject: [PATCH] fix: allow creating groups by system events Signed-off-by: Miguel Martinez --- app/controlplane/pkg/auditor/events/group.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controlplane/pkg/auditor/events/group.go b/app/controlplane/pkg/auditor/events/group.go index 7262c267c..afaef3cc4 100644 --- a/app/controlplane/pkg/auditor/events/group.go +++ b/app/controlplane/pkg/auditor/events/group.go @@ -49,7 +49,8 @@ type GroupBase struct { } func (g *GroupBase) RequiresActor() bool { - return true + // Groups might be created automatically by the system, so we don't require an actor + return false } func (g *GroupBase) TargetType() auditor.TargetType {