Remediation
From Azure Portal
- Go to
Storage Accounts. - For each storage account, under
Security + networking, clickNetworking. - Click the
Firewalls and virtual networksheading. - Set
Public network accesstoEnabled from selected virtual networks and IP addresses. - Add rules to allow traffic from specific networks and IP addresses.
- Click
Save.
From Azure CLI
Use the following command to update default-action to Deny:
az storage account update \
--name {{storage-account-name}} \
--resource-group {{resource-group-name}} \
--default-action Deny