π Azure Storage Account Default Network Access Rule is not set to Deny π’
- Contextual name: π Default Network Access Rule is not set to Deny π’
- ID:
/ce/ca/azure/storage/deny-default-network-access
- Located in: π Azure Storage
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-d127f407
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-d127f407 | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
Restricting default network access helps to provide a new layer of security, since storage accounts accept connections from clients on any network. To limit access to selected networks, the default action must be changed.
Rationaleβ
Storage accounts should be configured to deny access to traffic from all networks (including internet traffic). Access can be granted to traffic from specific Azure Virtual networks, allowing a secure network boundary for specific applications to be built. Access can also be granted to public internet IP address ranges to enable connections from specific internet or on-premises clients. When network rules are configured, only applications from allowed networks can access a storage account. When calling from an allowed network, applications continue to require proper authorization (a valid access key or SAS token) to access the storage account.
Impactβ
All allowed networks will need to be whitelisted on each specific network, creating administrative overhead. This may result in loss of network connectivity, so do not turn on for critical resources during business hours.
... see more
Remediationβ
Remediationβ
From Azure Consoleβ
- Go to
Storage Accounts
.- For each storage account, under
Security + networking
, clickNetworking
.- Click the
Firewalls and virtual networks
heading.- Set
Public network access
toEnabled 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 below command to update
default-action
toDeny
:az storage account update --name <StorageAccountName> --resource-group <resourceGroupName> --default-action Deny