| name | cis-azure-storage-5.2.5 |
| description | Ensure public network access on Recovery Services vaults is Disabled |
| category | cis-azure-storage |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","storage","recovery-services","backup","network-security","public-access","private-endpoint","rbac"] |
| cis_id | 5.2.5 |
| cis_benchmark | CIS Microsoft Azure Storage Services Benchmark v1.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
5.2.5 Ensure public network access on Recovery Services vaults is Disabled (Automated)
Description
Disable public network access on Recovery Services vaults to prevent exposure to the internet and reduce the risk of unauthorized access. Use private endpoints and Azure Role-Based Access Control (RBAC) to securely manage access within trusted networks.
Rationale
Disabling public network access improves security by ensuring that a Recovery Services vault is not exposed on the public internet.
Impact
Disabling public network access on Recovery Services vaults restricts access to the vault. This enhances security but may require the configuration of private endpoints for any services or users needing access within trusted networks.
Audit Procedure
Audit from Azure Portal
- Go to
Recovery Services vaults.
- Click the name of a vault.
- Under
Settings, click Networking.
- Under
Public access, ensure that Public network access is set to Deny.
- Repeat steps 1-4 for each Recovery Services vault.
Audit from Azure CLI
Run the following command to list Recovery Services vaults:
az backup vault list
For each Recovery Services vault, run the following command:
az backup vault show --resource-group <resource-group> --name <recovery-services-vault>
Ensure that under properties, publicNetworkAccess is set to Disabled.
Audit from PowerShell
Run the following command to list Recovery Services vaults:
Get-AzRecoveryServicesVault
Run the following command to get the vault in a resource group with a given name:
$vault = Get-AzRecoveryServicesVault -ResourceGroupName <resource-group> -Name <recovery-services-vault>
Run the following command to get the public network access setting for the vault:
$vault.Properties.PublicNetworkAccess
Ensure that the command returns Disabled.
Repeat for each Recovery Services vault.
Expected Result
properties.publicNetworkAccess is set to Disabled