Skip to content

Commit

Permalink
Introduce missing allowed_full_admin_users macro so its corresponding…
Browse files Browse the repository at this point in the history
… rule is disabled by default

Signed-off-by: Vicente Herrera <[email protected]>
  • Loading branch information
vicenteherrera authored and poiana committed Apr 14, 2020
1 parent 3ce11f0 commit 9fd08ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules/k8s_audit_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@
tags: [k8s]


# This macro disables following rule, change to k8s_audit_never_true to enable it
- macro: allowed_full_admin_users
condition: (k8s_audit_always_true)

# This list includes some of the default user names for an administrator in several K8s installations
- list: full_admin_k8s_users
items: ["admin", "kubernetes-admin", "kubernetes-admin@kubernetes", "[email protected]", "minikube-user"]
Expand Down

0 comments on commit 9fd08ce

Please sign in to comment.