last sync: 2023-Jun-02 17:44:47 UTC

Azure Policy definition

Enable logging by category group for Azure Cache for Redis (microsoft.cache/redis) to Event Hub

Name Enable logging by category group for Azure Cache for Redis (microsoft.cache/redis) to Event Hub
Azure Portal
Id a142867f-3142-4ac6-b952-ab950a29fca5
Version 1.1.0
details on versioning
Category Monitoring
Microsoft docs
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 an Event Hub for Azure Cache for Redis (microsoft.cache/redis).
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
Azure Event Hubs Data Owner f526a384-b230-433a-b45c-95f59c4a2dec
Rule
Aliases
THEN-ExistenceCondition (5)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/eventHubAuthorizationRuleId microsoft.insights diagnosticSettings properties.eventHubAuthorizationRuleId false
Microsoft.Insights/diagnosticSettings/eventHubName microsoft.insights diagnosticSettings properties.eventHubName false
Microsoft.Insights/diagnosticSettings/logs[*] microsoft.insights diagnosticSettings properties.logs[*] false
microsoft.insights/diagnosticSettings/logs[*].categoryGroup microsoft.insights diagnosticSettings properties.logs[*].categoryGroup false
Microsoft.Insights/diagnosticSettings/logs[*].enabled microsoft.insights diagnosticSettings properties.logs[*].enabled false
Rule
ResourceTypes
IF (1)
Microsoft.cache/redis
Compliance Not a Compliance control
History
Date/Time (UTC ymd) (i) Change type Change detail
2023-03-27 17:43:07 change Minor (1.0.0 > 1.1.0)
2023-02-10 18:41:56 add a142867f-3142-4ac6-b952-ab950a29fca5
Initiatives
usage
Initiative DisplayName Initiative Id Initiative Category State Type
Enable audit category group resource logging for supported resources to Event Hub 1020d527-2764-4230-92cc-7035e4fcf8a7 Monitoring GA BuiltIn
JSON