last sync: 2022-Dec-02 17:43:06 UTC

Azure Policy definition

Configure diagnostic settings for Storage Accounts to Log Analytics workspace

Name Configure diagnostic settings for Storage Accounts to Log Analytics workspace
Azure Portal
Id 59759c62-9a22-4cdf-ae64-074495983fef
Version 4.0.0
details on versioning
Category Storage
Microsoft docs
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 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
ResourceTypes
IF (1)
Microsoft.Storage/storageAccounts
Compliance Not a Compliance control
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
Initiatives
usage
none
JSON
changes

JSON