Last active
August 28, 2020 08:04
-
-
Save ehrnst/24491e7480e7572c9da4e7fb7844e9b0 to your computer and use it in GitHub Desktop.
Azure Monitor Logs subscription activity
This file contains 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
AzureActivity | |
| where Authorization_d.action has "write" | |
| where CategoryValue == "Administrative" | |
| where ActivityStatusValue == "Success" | |
| where OperationNameValue !in ( | |
"MICROSOFT.AUTHORIZATION/POLICYDEFINITIONS/WRITE", | |
"MICROSOFT.AUTHORIZATION/POLICYSETDEFINITIONS/WRITE", | |
"MICROSOFT.AUTHORIZATION/POLICYASSIGNMENTS/WRITE") | |
| distinct _ResourceId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment