diff --git a/pkg/eval/eval.go b/pkg/eval/eval.go index cbe508f..c32385e 100644 --- a/pkg/eval/eval.go +++ b/pkg/eval/eval.go @@ -303,7 +303,7 @@ func removedUnneededIdentities(collectResult *collect.CollectResult, evalConfig collectResult.Users = []collect.NamedEntry{} } if !evalConfig.GroupViolations { - collectResult.Users = []collect.NamedEntry{} + collectResult.Groups = []collect.NamedEntry{} } }