3.6 Ensure default network access rule for Storage Accounts is set to deny

Information

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.

Solution

From Azure Console

Go to Storage Accounts

For each storage account, Click on the settings menu called Firewalls and virtual networks.

Ensure that you have elected to allow access from Selected networks.

Add rules to allow traffic from specific network.

Click Save to apply your changes.

Using Azure Command Line Interface 2.0
Use the below command to update default-action to Deny.

az storage account update --name <StorageAccountName> --resource-group <resourceGroupName> --default-action Deny

See Also

https://workbench.cisecurity.org/files/3459

Item Details

Category: CONFIGURATION MANAGEMENT, SYSTEM AND SERVICES ACQUISITION

References: 800-53|CM-7, 800-53|SA-8, CSCv7|16

Plugin: microsoft_azure

Control ID: 55d6e2373026c8a6b42120872733782d2d7cba24ff366e51d825d343f1026b6a