| name | cis-azure-storage-5.2.2 |
| description | Ensure immutability for Recovery Services vaults is Enabled |
| category | cis-azure-storage |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","storage","recovery-services","backup","immutability","vault-lock","data-protection"] |
| cis_id | 5.2.2 |
| cis_benchmark | CIS Microsoft Azure Storage Services Benchmark v1.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
5.2.2 Ensure immutability for Recovery Services vaults is Enabled (Automated)
Description
Immutable vaults safeguard backup data by preventing any operations that could result in the loss of recovery points. The immutable vault setting can be locked, making it irreversible and preventing malicious actors from disabling it and deleting backups.
Rationale
Enabling the immutable vault ensures that backup data is protected from unauthorized or accidental deletion. By locking the setting and making it irreversible, malicious actors are prevented from disabling the setting and deleting backups.
Impact
There is no additional cost for enabling vault immutability; however, a vault with locked immutability cannot be deleted without contacting Azure support and will incur the standard vault costs.
Audit Procedure
Audit from Azure Portal
- Go to
Recovery Services vaults.
- From the list of vaults, ensure that the value in the
Immutability column for each vault is Not locked or Locked.
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 immutabilitySettings, state is set to Unlocked or Locked.
Audit from Azure Policy
If referencing a digital copy of this Benchmark, clicking a Policy ID will open a link to the associated Policy definition in Azure.
If referencing a printed copy, you can search Policy IDs from this URL:
https://portal.azure.com/#view/Microsoft_Azure_Policy/PolicyMenuBlade/~/Definitions
- Policy ID:
d6f6f560-14b7-49a4-9fc8-d2c3a9807868
- Name: '[Preview]: Immutability must be enabled for Recovery Services vaults'
Expected Result
- In Azure Portal, the
Immutability column shows Not locked or Locked for each vault
- In Azure CLI output,
immutabilitySettings.state is set to Unlocked or Locked