last sync: 2023-Jun-19 17:45:01 UTC

Community Policy definition

Deploy Diagnostic Settings for Activity Log to Log Analytics Workspace

Name Deploy Diagnostic Settings for Activity Log to Log Analytics Workspace
Community-Policy GitHub
Id monitoring_deploy-diagnostic-setting-for-activity-log-log-analytics
Version n/a
details on versioning
Category undefined
Microsoft docs
Description Deploys the diagnostic settings for Activity Log to stream to a regional Log Analytics workspace when any Subscription which is missing this diagnostic settings is created or updated.
Mode All
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, Disabled
Used RBAC Role
Role Name Role Id
Owner 8e3af657-a8ff-443c-a75c-2fe8c4bcb635
Rule Aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId false
Rule ResourceTypes IF (1)
Microsoft.Resources/subscriptions
THEN-Deployment (1)
Microsoft.Insights/diagnosticSettings
JSON