You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resources
| where type =~ 'microsoft.storage/storageAccounts'
| extend networkACLs_defaultAction=parse_json(properties.networkAcls).defaultAction
| where networkACLs_defaultAction =~ 'allow'
List all storage accounts that have Service Endpoint enabled
resources
| where type =~ 'microsoft.storage/storageAccounts'
| extend networkACLs_defaultAction=parse_json(properties.networkAcls).defaultAction
| where networkACLs_defaultAction =~ 'deny'
List all storage accounts that do not use customer-managed encryption keys
Resources | where type =~ 'microsoft.storage/storageaccounts' and aliases['Microsoft.Storage/storageAccounts/encryption.keySource'] =~ 'microsoft.storage' | extend keySource = properties.encryption.keySource | project id,name,kind,location,resourceGroup,subscriptionId,keySource
List all storage accounts that use customer-managed encryption keys
Resources | where type =~ 'microsoft.storage/storageaccounts' and aliases['Microsoft.Storage/storageAccounts/encryption.keySource'] !~ 'microsoft.storage' | extend keySource = properties.encryption.keySource | project id,name,kind,location,resourceGroup,subscriptionId,keySource