last sync: 2024-Oct-03 17:51:34 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
Versioning Versions supported for Versioning: 1
4.0.0
Built-in Versioning [Preview]
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
Allowed
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 Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled True False
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId True False
Rule resource types IF (1)
Microsoft.Storage/storageAccounts
Compliance Not a Compliance control
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State Type
[Deprecated]: Deploy Diagnostic Settings to Azure Services Deploy-Diagnostics-LogAnalytics Monitoring Deprecated ALZ
[Preview]: Control the use of diagnostic settings for specific resources in a Virtual Enclave 0a9ea1cb-7925-47fc-b0fe-8bb0a8190423 VirtualEnclaves Preview BuiltIn
History
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:
JSON
api-version=2021-06-01
EPAC