Skip to content

Commit

Permalink
fix: add system authenticate bind protection policy
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed Jan 29, 2024
1 parent 9eea4f7 commit ac7d6c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test_cluster_role_binding_with_system_authenticate_binding {
count(r) == 1
}

# Test case for a RoleBinding with system_authenticated group binding
# Test case for a RoleBinding with non system_authenticated group binding
test_role_binding_with_non_system_authenticated_binding {
r := deny with input as {
"apiVersion": "rbac.authorization.k8s.io/v1",
Expand All @@ -86,7 +86,7 @@ test_role_binding_with_non_system_authenticated_binding {
count(r) == 0
}

# Test case for a ClusterRoleBinding with non-anonymous user binding
# Test case for a ClusterRoleBinding with non system_authenticated group binding
test_cluster_role_binding_with_non_system_authenticated_group_binding {
r := deny with input as {
"apiVersion": "rbac.authorization.k8s.io/v1",
Expand Down

0 comments on commit ac7d6c1

Please sign in to comment.