text code block:data_stream.dataset:azure.platformlogs and event.action:Microsoft.ContainerService/managedClusters/diagnosticLogs/Read and azure.platformlogs.category:(kube-audit or kube-audit-admin) and azure.platformlogs.properties.log.stage:ResponseComplete and azure.platformlogs.properties.log.verb:create and azure.platformlogs.properties.log.objectRef.resource:(selfsubjectaccessreviews or selfsubjectrulesreviews) and azure.platformlogs.properties.log.user.username:((system\:node\:* or system\:serviceaccount\:*) and not system\:serviceaccount\:azure-arc\:*)
Install detection rules in Elastic Security
Detect Azure AKS Suspicious Self-Subject Review by Service Account or Node Identity 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).