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" } ] },