text code block:data_stream.dataset:"aws.eks_audit" and aws.eks.audit.objectRef.resource:"configmaps" and aws.eks.audit.objectRef.name:"coredns" and aws.eks.audit.objectRef.namespace:"kube-system" and aws.eks.audit.verb:("update" or "patch" or "delete") and aws.eks.audit.annotations.authorization_k8s_io/decision:"allow" and not user.name:( system\:serviceaccount\:kube-system\:coredns or system\:node\:* or eks\:* )
Install detection rules in Elastic Security
Detect AWS EKS CoreDNS or Kube-DNS Configuration Modified 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).