From f61870bced48f069f032f97ae461eccda8397589 Mon Sep 17 00:00:00 2001 From: geekyshameem Date: Wed, 5 Nov 2025 10:06:35 +0530 Subject: [PATCH] Modifed Audit SQL DB without Hybrid Benefit License -> Excluded ElasticPool Sku, Serverless and Hyperscale since it's not applicable --- .../azurepolicy.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/policyDefinitions/SQL/audit-sql-db-without-hybrid-licensing/azurepolicy.json b/policyDefinitions/SQL/audit-sql-db-without-hybrid-licensing/azurepolicy.json index ce9d4e60..b8f38d8f 100644 --- a/policyDefinitions/SQL/audit-sql-db-without-hybrid-licensing/azurepolicy.json +++ b/policyDefinitions/SQL/audit-sql-db-without-hybrid-licensing/azurepolicy.json @@ -34,9 +34,29 @@ "field": "kind", "contains": "vcore" }, + { + "field": "kind", + "notContains": "pool" + }, + { + "field": "kind", + "notContains": "serverless" + }, + { + "field": "kind", + "notContains": "hyperscale" + }, { "field": "Microsoft.Sql/servers/databases/licenseType", "notEquals": "BasePrice" + }, + { + "field": "Microsoft.Sql/servers/databases/currentSku.name", + "notContains": "GP_S" + }, + { + "field": "Microsoft.Sql/servers/databases/currentSku.name", + "notEquals": "ElasticPool" } ] },