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

Azure Policy definition

Configure Azure SQL database servers diagnostic settings to Log Analytics workspace

Name Configure Azure SQL database servers diagnostic settings to Log Analytics workspace
Azure Portal
Id 7ea8a143-05e3-4553-abfe-f56bef8b0b70
Version 1.0.2
details on versioning
Category SQL
Microsoft docs
Description Enables auditing logs for Azure SQL Database server and stream the logs to a Log Analytics workspace when any SQL Server which is missing this auditing is created or updated
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: DeployIfNotExists
Allowed: (DeployIfNotExists, Disabled)
Used RBAC Role
Role Name Role Id
SQL Security Manager 056cd41c-7e88-42e1-933e-88ba6a50c9c3
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Rule Aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Sql/auditingSettings.state Microsoft.Sql
Microsoft.Sql
servers/databases/auditingSettings
servers/auditingSettings
properties.state
properties.state
false
false
Rule ResourceTypes IF (1)
Microsoft.Sql/servers
THEN-Deployment (1)
Microsoft.Sql/servers/auditingSettings
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-04-27 15:38:15 change Patch (1.0.1 > 1.0.2) *changes on text case sensitivity are not tracked
2021-02-10 14:43:58 add 7ea8a143-05e3-4553-abfe-f56bef8b0b70
Used in Initiatives none
JSON Changes

JSON