From 928e77fbcfc1d785fd2220e4872243b3ade8134d Mon Sep 17 00:00:00 2001 From: Claudio Merola Date: Thu, 12 Dec 2024 18:16:14 -0300 Subject: [PATCH] Delete azure-resources/Insights/activityLogAlerts/kql/be448849-0d7d-49ba-9c94-9573ee533d5d.kql --- .../kql/be448849-0d7d-49ba-9c94-9573ee533d5d.kql | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 azure-resources/Insights/activityLogAlerts/kql/be448849-0d7d-49ba-9c94-9573ee533d5d.kql diff --git a/azure-resources/Insights/activityLogAlerts/kql/be448849-0d7d-49ba-9c94-9573ee533d5d.kql b/azure-resources/Insights/activityLogAlerts/kql/be448849-0d7d-49ba-9c94-9573ee533d5d.kql deleted file mode 100644 index 37846ff8..00000000 --- a/azure-resources/Insights/activityLogAlerts/kql/be448849-0d7d-49ba-9c94-9573ee533d5d.kql +++ /dev/null @@ -1,13 +0,0 @@ -// Azure Resource Graph Query -// Find all Subs without Resource Health Alerts configured at subscription level -resourcecontainers -| where type =~ 'microsoft.resources/subscriptions' - | join kind=leftouter (resources - | where type == 'microsoft.insights/activitylogalerts' - | where properties.enabled =~ 'true' - | mv-expand condition = properties.condition - | mv-expand scopes = properties.scopes - | where condition.allOf contains "ResourceHealth" - | project tostring(scopes)) on $left.id == $right.scopes -| where scopes =~ '' -| project recommendationId="be448849-0d7d-49ba-9c94-9573ee533d5d", name, id, tags, param1="No Resource Health Alerts"