Skip to content

Commit

Permalink
fix issue issue where user violations weren't evaluted when group vio…
Browse files Browse the repository at this point in the history
…lations where disabled
  • Loading branch information
yuvalavra committed Nov 7, 2023
1 parent 1ec5d02 commit 531dea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eval/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}
}

Expand Down

0 comments on commit 531dea3

Please sign in to comment.