| Source | Azure Portal | ||||||||||||||||||||||||||||||||||||||||||
| Display name | Enable logging by category group for Log Analytics workspaces (microsoft.operationalinsights/workspaces) to Event Hub | ||||||||||||||||||||||||||||||||||||||||||
| Id | a853abad-dfa4-4bf5-aaa1-04cb10c02d23 | ||||||||||||||||||||||||||||||||||||||||||
| Version | 1.2.0 Details on versioning | ||||||||||||||||||||||||||||||||||||||||||
| Versioning | Versions supported for Versioning: 2 1.2.0 1.1.0 Built-in Versioning [Preview] | ||||||||||||||||||||||||||||||||||||||||||
| Category | Monitoring Microsoft Learn | ||||||||||||||||||||||||||||||||||||||||||
| 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 Log Analytics workspaces (microsoft.operationalinsights/workspaces). | ||||||||||||||||||||||||||||||||||||||||||
| Cloud environments | AzureCloud = true AzureUSGovernment = unknown AzureChinaCloud = unknown | ||||||||||||||||||||||||||||||||||||||||||
| Available in AzUSGov | Unknown, no evidence if Policy definition is/not available in AzureUSGovernment | ||||||||||||||||||||||||||||||||||||||||||
| Mode | Indexed | ||||||||||||||||||||||||||||||||||||||||||
| Type | BuiltIn | ||||||||||||||||||||||||||||||||||||||||||
| Preview | False | ||||||||||||||||||||||||||||||||||||||||||
| Deprecated | False | ||||||||||||||||||||||||||||||||||||||||||
| Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled | ||||||||||||||||||||||||||||||||||||||||||
| RBAC role(s) | 
 | ||||||||||||||||||||||||||||||||||||||||||
| Rule aliases | THEN-ExistenceCondition (5) 
 | ||||||||||||||||||||||||||||||||||||||||||
| Rule resource types | IF (1) | ||||||||||||||||||||||||||||||||||||||||||
| Compliance | Not a Compliance control | ||||||||||||||||||||||||||||||||||||||||||
| Initiatives usage | 
 | ||||||||||||||||||||||||||||||||||||||||||
| History | 
 | ||||||||||||||||||||||||||||||||||||||||||
| JSON compare | 
                compare mode:
            
                version left:
            
                version right:
            
                
                
                    
                    
                 | ||||||||||||||||||||||||||||||||||||||||||
| JSON | 
 |