Skip to content

Commit 94eca57

Browse files
authored
fix: allow creating groups by system events (#2254)
Signed-off-by: Miguel Martinez <[email protected]>
1 parent d36ba51 commit 94eca57

File tree

1 file changed

+2
-1
lines changed
  • app/controlplane/pkg/auditor/events

1 file changed

+2
-1
lines changed

app/controlplane/pkg/auditor/events/group.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ type GroupBase struct {
4949
}
5050

5151
func (g *GroupBase) RequiresActor() bool {
52-
return true
52+
// Groups might be created automatically by the system, so we don't require an actor
53+
return false
5354
}
5455

5556
func (g *GroupBase) TargetType() auditor.TargetType {

0 commit comments

Comments
 (0)