last sync: 2022-Jul-01 16:32:34 UTC

Azure Policy definition

Deploy Diagnostic Settings for Azure SQL Database to Event Hub

Name Deploy Diagnostic Settings for Azure SQL Database to Event Hub
Azure Portal
Id 9a7c7a7d-49e5-4213-bea8-6a502b6272e0
Version 1.2.0
details on versioning
Category SQL
Microsoft docs
Description Deploys the diagnostic settings for Azure SQL Database to stream to a regional Event Hub on any Azure SQL Database which is missing this diagnostic settings is created or updated.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Fixed: DeployIfNotExists
Used RBAC Role
Role Name Role Id
Contributor b24988ac-6180-42a0-ab88-20f7382dd24c
Rule Aliases THEN-ExistenceCondition (2)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/logs[*].enabled microsoft.insights diagnosticSettings properties.logs[*].enabled false
Microsoft.Insights/diagnosticSettings/metrics[*].enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled false
Rule ResourceTypes IF (1)
Date/Time (UTC ymd) (i) Change type Change detail
2021-05-11 14:06:18 change Minor (1.1.0 > 1.2.0)
Used in Initiatives none
JSON Changes