-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert restrict-binding-system-groups to cel
Signed-off-by: Chandan-DK <[email protected]>
- Loading branch information
1 parent
0e7f097
commit a97b039
Showing
2 changed files
with
24 additions
and
42 deletions.
There are no files selected for viewing
16 changes: 9 additions & 7 deletions
16
other-cel/restrict-binding-system-groups/artifacthub-pkg.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
name: restrict-binding-system-groups | ||
name: restrict-binding-system-groups-cel | ||
version: 1.0.0 | ||
displayName: Restrict Binding System Groups | ||
createdAt: "2023-04-10T20:30:06.000Z" | ||
displayName: Restrict Binding System Groups in CEL expressions | ||
description: >- | ||
Certain system groups exist in Kubernetes which grant permissions that are used for certain system-level functions yet typically never appropriate for other users. This policy prevents creating bindings to some of these groups including system:anonymous, system:unauthenticated, and system:masters. | ||
install: |- | ||
```shell | ||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policies/main/other/restrict-binding-system-groups/restrict-binding-system-groups.yaml | ||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policies/main/other-cel/restrict-binding-system-groups/restrict-binding-system-groups.yaml | ||
``` | ||
keywords: | ||
- kyverno | ||
- Security | ||
- EKS Best Practices | ||
- CEL Expressions | ||
readme: | | ||
Certain system groups exist in Kubernetes which grant permissions that are used for certain system-level functions yet typically never appropriate for other users. This policy prevents creating bindings to some of these groups including system:anonymous, system:unauthenticated, and system:masters. | ||
Refer to the documentation for more details on Kyverno annotations: https://artifacthub.io/docs/topics/annotations/kyverno/ | ||
annotations: | ||
kyverno/category: "Security, EKS Best Practices" | ||
kyverno/kubernetesVersion: "1.23" | ||
kyverno/category: "Security, EKS Best Practices in CEL" | ||
kyverno/kubernetesVersion: "1.26-1.27" | ||
kyverno/subject: "RoleBinding, ClusterRoleBinding, RBAC" | ||
digest: d0336a6276727ee78903d87ca14097913d5983b35566d3f47efbf72aa59f2f4d | ||
digest: 9843fd8b6e7357bc01ccbfcd3280bc3bc1d8baa5da4dce46c7d0125906a8efdc | ||
createdAt: "2024-04-12T16:28:28Z" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters