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

Azure Policy definition

Configure Azure Activity logs to stream to specified Log Analytics workspace

Name Configure Azure Activity logs to stream to specified Log Analytics workspace
Azure Portal
Id 2465583e-4e78-4c15-b6be-a36cbc7c8b0f
Version 1.0.0
details on versioning
Category Monitoring
Microsoft docs
Description Deploys the diagnostic settings for Azure Activity to stream subscriptions audit logs to a Log Analytics workspace to monitor subscription-level events
Mode All
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: DeployIfNotExists
Allowed: (DeployIfNotExists, Disabled)
Used RBAC Role
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/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled false
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId false
Rule ResourceTypes IF (1)
Microsoft.Resources/subscriptions
THEN-Deployment (1)
Microsoft.Insights/diagnosticSettings
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-04-27 15:38:15 add 2465583e-4e78-4c15-b6be-a36cbc7c8b0f
Used in Initiatives none
JSON