| Source | Azure Portal | |||||||||||||||||||||||||||||||||||
| Display name | Enable logging by category group for Container registries (microsoft.containerregistry/registries) to Log Analytics | |||||||||||||||||||||||||||||||||||
| Id | 56288eb2-4350-461d-9ece-2bb242269dce | |||||||||||||||||||||||||||||||||||
| Version | 1.1.0 Details on versioning  | 
                |||||||||||||||||||||||||||||||||||
| Versioning | 
                        Versions supported for Versioning: 2 1.1.0 1.0.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 a Log Analytics workspace for Container registries (microsoft.containerregistry/registries). | |||||||||||||||||||||||||||||||||||
| Cloud environments | AzureCloud = true AzureUSGovernment = true AzureChinaCloud = unknown  | 
                |||||||||||||||||||||||||||||||||||
| Available in AzUSGov | The Policy is available in AzureUSGovernment cloud. Version: '1.0.0' Repository: Azure-Policy 56288eb2-4350-461d-9ece-2bb242269dce  | 
                |||||||||||||||||||||||||||||||||||
| Mode | Indexed | |||||||||||||||||||||||||||||||||||
| Type | BuiltIn | |||||||||||||||||||||||||||||||||||
| Preview | False | |||||||||||||||||||||||||||||||||||
| Deprecated | False | |||||||||||||||||||||||||||||||||||
| Effect |                 Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled  | 
                |||||||||||||||||||||||||||||||||||
| RBAC role(s) |                         
  | 
                |||||||||||||||||||||||||||||||||||
| Rule aliases |                     THEN-ExistenceCondition (4)
  | 
                |||||||||||||||||||||||||||||||||||
| Rule resource types |                 IF (1) | 
                |||||||||||||||||||||||||||||||||||
| Compliance | Not a Compliance control | |||||||||||||||||||||||||||||||||||
| Initiatives usage |                         
  | 
                |||||||||||||||||||||||||||||||||||
| History |                         
  | 
                |||||||||||||||||||||||||||||||||||
| JSON compare | 
                
                compare mode:
            
                version left:
            
                version right:
            
                
                
                    
                    
                  | 
            |||||||||||||||||||||||||||||||||||
| JSON | 
                    
  |