Created
March 23, 2020 18:17
-
-
Save vicenteherrera/bce1c73c48a25d025daad296e4dfaf9d to your computer and use it in GitHub Desktop.
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
- rule: Disallowed K8s User | |
desc: Detect any k8s operation by users outside of an allowed set of users. | |
condition: kevt and non_system_user and not ka.user.name in (allowed_k8s_users) | |
output: K8s Operation performed by user not in allowed list of users (user=%ka.user.name target=%ka.target.name/%ka.target.resource verb=%ka.verb uri=%ka.uri resp=%ka.response.code) | |
priority: WARNING | |
source: k8s_audit | |
tags: [k8s] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment