CIS Microsoft Azure Foundations Benchmark v1.4.0/Storage Accounts/45 of 115
3.8Ensure Soft Delete is Enabled for Azure Storage
Control family: Storage Accounts
Control description
The Azure Storage blobs contain data like ePHI, Financial, secret or personal. Erroneously modified or deleted accidentally by an application or other storage account user cause data loss or data unavailability.
It is recommended the Azure Storage be made recoverable by enabling **soft delete** configuration. This is to save and recover data when blobs or blob snapshots are deleted.
How to implement
ResponsibilityCustomerYou configure and operate this in your own cloud accounts.
Blobs deleted or overwritten by mistake, by a faulty application or by someone malicious, are gone unless something keeps a copy. Soft delete for blobs and for containers keeps deleted data for a set number of days so it can be restored.
Before you start
The same on every cloud, before the steps in the tabs.
- Decide how long deleted blobs and containers are kept (7 days or more) and who may restore them.
- Agree how often a restore is tested.
Evidence
- The data protection standard and the restore test record
On Azure the tasks turn on soft delete in each storage account's data protection settings, then test a restore.
Task 1Turn on soft delete for blobs and containers
- Sign in to the Azure portal at portal.azure.com and open Storage accounts, then the account.
- Select Data management > Data protection.
- Select Enable soft delete for blobs and set the days to keep deleted blobs (7 or more).
- Select Enable soft delete for containers and set the same number of days.
- Select Save.
- Check it: the Data protection page shows both options on with their retention.
Task 2Test a restore
- In a test container, upload a file and then delete it.
- In the container view, turn on Show deleted blobs.
- Select the deleted blob and choose Undelete.
- Check it: the blob is back and readable.
Evidence
- Data protection of each account, showing soft delete on for blobs and containers
- The record of the restore test
Not applicable. This benchmark covers Azure only.
Not applicable. This benchmark covers Azure only.
Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.