last sync: 2025-Aug-20 17:22:59 UTC

Storage Account - Diagnostic Settings AINE

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 94876c10-a8cd-4c32-9ce1-ad4140beb1dc (1.0.0) to Azure
Display name Storage Account - Diagnostic Settings AINE
Id 94876c10-a8cd-4c32-9ce1-ad4140beb1dc
Version 1.0.0
Details on versioning
Category Storage
Microsoft Learn
Description This Azure Policy creates an audit event when all logs and metrics are not send to a specified Log Analytics Workspace.
Mode All
Type Custom Community
Effect Default
AuditIfNotExists
Allowed
AuditIfNotExists, Disabled
RBAC role(s) none
Rule aliases THEN-ExistenceCondition (3)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Microsoft.Insights/diagnosticSettings/metrics.enabled microsoft.insights diagnosticSettings properties.metrics[*].enabled True False
Microsoft.Insights/diagnosticSettings/workspaceId microsoft.insights diagnosticSettings properties.workspaceId True False
Rule resource types IF (1)
Microsoft.Storage/storageAccounts
JSON
EPAC
Deploy policy 94876c10-a8cd-4c32-9ce1-ad4140beb1dc (1.0.0) to Azure