text code block:data_stream.dataset : "aws.eks_audit" and aws.eks.audit.annotations.authorization_k8s_io/decision:"allow" and aws.eks.audit.verb:"create" and aws.eks.audit.objectRef.resource:("selfsubjectaccessreviews" or "selfsubjectrulesreviews") and ( aws.eks.audit.user.username:(system\:serviceaccount\:* or system\:node\:*) or aws.eks.audit.impersonatedUser.username:(system\:serviceaccount\:* or system\:node\:*) ) and user_agent.original:(* and not (*kubernetes/$Format))
Install detection rules in Elastic Security
Detect AWS EKS Suspicious Self-Subject Review via Unusual User Agent in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).