Skip to content

Commit

Permalink
rules update: expand list allowed_k8s_users
Browse files Browse the repository at this point in the history
Signed-off-by: kaizhe <derek0405@gmail.com>

add comments

Signed-off-by: kaizhe <derek0405@gmail.com>
  • Loading branch information
Kaizhe committed Oct 23, 2019
1 parent 3fafac3 commit 7d96db5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules/k8s_audit_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
condition: (jevt.value[/stage]=ResponseStarted)

# If you wish to restrict activity to a specific set of users, override/append to this list.
# users created by kops are included
- list: allowed_k8s_users
items: ["minikube", "minikube-user", "kubelet", "kops"]
items: ["minikube", "minikube-user", "kubelet", "kops", "admin", "kube", "kube-proxy"]

- rule: Disallowed K8s User
desc: Detect any k8s operation by users outside of an allowed set of users.
Expand Down

0 comments on commit 7d96db5

Please sign in to comment.