Elastic medium stable kql
AWS EKS Creation of a RoleBinding Referencing a ServiceAccount
This rule detects the creation of RoleBindings or ClusterRoleBindings that reference a ServiceAccount, which may indicate privilege delegation or potential RBAC misconfiguration leading to elevated access.
Detection Logic
data_stream.dataset: "aws.eks_audit" and aws.eks.audit.requestObject.subjects.kind:"ServiceAccount" and
aws.eks.audit.verb:"create" and aws.eks.audit.objectRef.resource:("rolebindings" or "clusterrolebindings") and
aws.eks.audit.annotations.authorization_k8s_io/decision:"allow" Field Validations
Loading…
Comments (0)
Loading comments...