Immutability#
Security · Recovery Services Vault · Rule · 2023_09 · Important
Ensure immutability is configured to protect backup data.
Description#
Immutability is supported for Recovery Services vaults by configuring the Immutable vault setting.
Immutable vault helps protecting backup data by blocking any operations that could lead to loss of recovery points. Additionally, locking the Immutable vault setting makes it irreversible to prevent any malicious actors from disabling immutability and deleting backups.
For example, an malicious attack may attempt to remove data or delete vaults to prevent recovery to a known good state.
The Immutable vault setting is not enabled per default.
Recommendation#
Consider configuring immutability to protect backup data from accidental or malicious deletion.
Examples#
Configure with Azure template#
To deploy Recovery Services vaults that pass this rule:
- Set
properties.securitySettings.immutabilitySettings.state
toUnlocked
orLocked
.
For example:
{
"type": "Microsoft.RecoveryServices/vaults",
"apiVersion": "2023-01-01",
"name": "[parameters('vaultName')]",
"location": "[parameters('location')]",
"sku": {
"name": "[parameters('skuName')]",
"tier": "[parameters('skuTier')]"
},
"properties": {
"securitySettings": {
"immutabilitySettings": {
"state": "Locked"
}
}
}
}
Configure with Bicep#
To deploy Recovery Services vaults that pass this rule:
- Set
properties.securitySettings.immutabilitySettings.state
toUnlocked
orLocked
.
For example:
resource recoveryServicesVault 'Microsoft.RecoveryServices/vaults@2023-01-01' = {
name: vaultName
location: location
sku: {
name: skuName
tier: skuTier
}
properties: {
securitySettings: {
immutabilitySettings: {
state: 'Locked'
}
}
}
}
Notes#
Note that immutability locking Locked
is irreversible, so ensure to take a well-informed decision when opting to lock.
For example, for vaults containing production workloads consider using Locked
.
For cases where you are creating and destroying backups and vaults on a regulary basis such as temporary environments consider Unlocked
.
Links#
- Security design principles
- Immutable vault for Azure Backup
- Restricted operations
- Manage Azure Backup Immutable vault operations
- Azure security baseline for Azure Backup
- Backup and restore plan to protect against ransomware
- BR-2: Protect backup and recovery data
- Azure deployment reference