last sync: 2024-Oct-10 19:12:06 UTC

Configure diagnostic settings for container groups to Log Analytics workspace

Azure BuiltIn Policy definition

Source Azure Portal
Display name Configure diagnostic settings for container groups to Log Analytics workspace
Id 41ebf9df-66cb-48e9-a8d0-98afb4e150ce
Version 1.0.0
Details on versioning
Versioning Versions supported for Versioning: 1
1.0.0
Built-in Versioning [Preview]
Category Container Instance
Microsoft Learn
Description Deploys the diagnostic settings for Container Instance to stream resource logs to a Log Analytics workspace when any container instance which is missing this diagnostic settings is created or updated.
Mode All
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/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId True False
Rule resource types IF (1)
Microsoft.ContainerInstance/containerGroups
Compliance Not a Compliance control
Initiatives usage none
History
Date/Time (UTC ymd) (i) Change type Change detail
2023-08-03 17:56:09 add 41ebf9df-66cb-48e9-a8d0-98afb4e150ce
JSON compare n/a
JSON
api-version=2021-06-01
EPAC