[New Rule] Azure AKS Kubernetes Events Deleted - #6423
Merged
Conversation
Contributor
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Azure (AKS) detection rule intended to alert when Kubernetes events are deleted via kube-audit logs ingested into azure.platformlogs, helping surface defense-evasion activity in clusters.
Changes:
- Introduces a new KQL query rule targeting kube-audit
deleteoperations against Kubernetesevents. - Adds an investigation guide, references, and investigation fields for triage.
- Sets rule metadata (severity/risk, tags, timestamp override) for production use.
Comments suppressed due to low confidence (2)
rules/integrations/azure/defense_evasion_azure_aks_events_deleted.toml:23
- The rule name says events were deleted, but the query only checks for a
deleteverb (it will also match failed/forbidden delete attempts). Either add an explicit success condition or rename the rule to reflect an attempted deletion.
name = "Azure AKS Kubernetes Events Deleted"
rules/integrations/azure/defense_evasion_azure_aks_events_deleted.toml:26
- The investigation guide header should match the rule name (and the query semantics) if this is intended to alert on attempted deletions, not only confirmed successful deletions.
### Investigating Azure AKS Kubernetes Events Deleted
Aegrah
approved these changes
Jul 23, 2026
terrancedejesus
requested review from
Samirbous,
bryans3c,
django-88,
eric-forte-elastic,
imays11,
shashank-elastic and
w0rk3r
July 23, 2026 14:15
bryans3c
approved these changes
Jul 24, 2026
django-88
approved these changes
Jul 24, 2026
Copilot stopped work on behalf of
terrancedejesus due to an error
July 29, 2026 23:02
wingiti
pushed a commit
to wingiti/detection-rules
that referenced
this pull request
Aug 19, 2026
* [New Rule] Azure AKS Kubernetes Events Deleted * logic adjustment, description & tagging updates
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
Summary - What I changed
Detects an identity deleting Kubernetes events on AKS (Azure Kubernetes Service), excluding known AKS control-plane and platform identities. Adversaries delete events (individually or in bulk via deletecollection) to remove evidence of pod creation, exec, or scheduling activity and impair incident response after operating in the cluster. Coverage includes workload service accounts (system:serviceaccount:*), so a compromised in-cluster token wiping events is not excluded.
How To Test
Query can be used in TRADE stack.
Checklist
bug,enhancement,schema,maintenance,Rule: New,Rule: Deprecation,Rule: Tuning,Hunt: New, orHunt: Tuningso guidelines can be generatedmeta:rapid-mergelabel if planning to merge within 24 hoursContributor checklist