So, here is a #PowerShell #ResourceGraph query to list all storage accounts and their #allowSharedKeyAccess settings:
Search-AzGraph -Query "resources | where type =~ 'Microsoft.Storage/storageAccounts' | extend allowSharedKeyAccess = parse_json(properties).allowSharedKeyAccess | project subscriptionId, resourceGroup, name, allowSharedKeyAccess"
#Azure #StorageAccount #SharedKeyAccess
Ref: https://learn.microsoft.com/en-gb/azure/storage/common/shared-key-authorization-prevent
#powershell #resourcegraph #allowsharedkeyaccess #azure #storageaccount #sharedkeyaccess
I‘ve been writing a short post about how to use the Azure SDK for Python for querying Azure Resource Graph for available resource names. Feel free to check it out in case you‘re interested: https://dev.to/holger/azure-sdk-for-python-how-to-check-for-available-resource-names-1lg5 #azure #python #resourcegraph #azurecloud
#azurecloud #resourcegraph #python #azure