last sync: 2024-Nov-25 18:54:24 UTC

Enable logging by category group for Workspaces (microsoft.desktopvirtualization/workspaces) to Storage

Azure BuiltIn Policy definition

Source Azure Portal
Display name Enable logging by category group for Workspaces (microsoft.desktopvirtualization/workspaces) to Storage
Id e6acdfc4-25e3-4b36-9b0c-5c5743edd1b7
Version 1.0.0
Details on versioning
Versioning Versions supported for Versioning: 1
1.0.0
Built-in Versioning [Preview]
Category Monitoring
Microsoft Learn
Description Resource logs should be enabled to track activities and events that take place on your resources and give you visibility and insights into any changes that occur. This policy deploys a diagnostic setting using a category group to route logs to a Storage Account for Workspaces (microsoft.desktopvirtualization/workspaces).
Mode Indexed
Type BuiltIn
Preview False
Deprecated False
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Log Analytics Contributor 92aaf0da-9dab-42b6-94a3-d43ce8d16293
Rule aliases THEN-ExistenceCondition (4)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/logs[*] microsoft.insights diagnosticSettings properties.logs[*] True False
microsoft.insights/diagnosticSettings/logs[*].categoryGroup microsoft.insights diagnosticSettings properties.logs[*].categoryGroup True False
Microsoft.Insights/diagnosticSettings/logs[*].enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Microsoft.Insights/diagnosticSettings/storageAccountId microsoft.insights diagnosticSettings properties.storageAccountId True False
Rule resource types IF (1)
Microsoft.desktopvirtualization/workspaces
Compliance Not a Compliance control
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State Type
Enable allLogs category group resource logging for supported resources to storage b6b86da9-e527-49de-ac59-6af0a9db10b8 Monitoring GA BuiltIn
History
Date/Time (UTC ymd) (i) Change type Change detail
2024-04-29 17:47:10 add e6acdfc4-25e3-4b36-9b0c-5c5743edd1b7
JSON compare n/a
JSON
api-version=2021-06-01
EPAC