last sync: 2024-May-23 18:02:58 UTC

Configure diagnostic settings for Storage Accounts to Log Analytics workspace

Azure BuiltIn Policy definition

Source Azure Portal
Display name Configure diagnostic settings for Storage Accounts to Log Analytics workspace
Id 59759c62-9a22-4cdf-ae64-074495983fef
Version 4.0.0
Details on versioning
Category Storage
Microsoft Learn
Description Deploys the diagnostic settings for Storage accounts to stream resource logs to a Log Analytics workspace when any storage accounts which is missing this diagnostic settings is created or updated.
Mode Indexed
Type BuiltIn
Preview False
Deprecated False
Effect Default
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Monitoring Contributor 749f88d5-cbae-40b8-bcfc-e573ddc772fa
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Rule aliases THEN-ExistenceCondition (2)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled false
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId false
Rule resource types IF (1)
Compliance Not a Compliance control
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State Type
[Preview]: Control the use of diagnostic settings for specific resources in a Virtual Enclave 0a9ea1cb-7925-47fc-b0fe-8bb0a8190423 VirtualEnclaves Preview BuiltIn
Deploy Diagnostic Settings to Azure Services Deploy-Diagnostics-LogAnalytics Monitoring GA ALZ
Date/Time (UTC ymd) (i) Change type Change detail
2022-10-21 16:42:13 change Major (3.0.0 > 4.0.0)
2022-09-23 16:35:49 change Major (2.0.0 > 3.0.0)
2022-09-19 17:41:40 change Major (1.0.0 > 2.0.0)
2022-08-26 16:33:38 add 59759c62-9a22-4cdf-ae64-074495983fef
JSON compare
compare mode: version left: version right: