Monitor For Analytics Editing In Microsoft Sentinel
Query
SentinelAudit
| where Status == @"Success"
| where Description == @"Create or update analytics rule." or Description == @"Analytics rule deleted"
| extend User = parse_json(ExtendedProperties)["CallerName"]
| project TimeGenerated, SentinelResourceName, Description, UserAbout this query
Monitor for analytics editing in Microsoft Sentinel
Description
The following query takes into advantage the SentinelAudit table and will allow you to monitor any editing of Analytics rules within Microsoft Sentinel.
Microsoft Sentinel
Versioning
| Version | Date | Comments |
|---|---|---|
| 1.0 | 30/06/2025 | Initial publish |
Explanation
This query is designed to monitor changes to analytics rules in Microsoft Sentinel. It specifically looks for successful events where analytics rules are either created, updated, or deleted. Here's a breakdown of what the query does:
-
Data Source: It uses the
SentinelAudittable, which logs activities related to Microsoft Sentinel. -
Filter by Status: It filters the records to only include those with a status of "Success," ensuring that only successful operations are considered.
-
Filter by Description: It further narrows down the records to those where the description indicates either the creation, update, or deletion of an analytics rule.
-
Extract User Information: The query extracts the user who performed the action by parsing the
ExtendedPropertiesfield to get the "CallerName." -
Select Relevant Information: Finally, it projects (selects) the following columns for the output:
TimeGenerated: The time when the event occurred.SentinelResourceName: The name of the Sentinel resource involved.Description: A description of the action (create, update, or delete).User: The user who performed the action.
This query helps administrators keep track of changes to analytics rules, providing insights into who made changes and when they occurred.
Details

Michalis Michalos
Released: June 30, 2025
Tables
Keywords
Operators