Ensure that your Microsoft Azure Storage accounts are configured with blob versioning in order to protect your object data from being overwritten or accidentally deleted. Blob versioning is a method of keeping multiple variants of a blob within the same Azure Storage account.
With blob versioning enabled, Azure Storage object data can be recovered from both unintended user actions and application failures, as the versioning feature allows you to preserve, retrieve, and restore versions of objects. Blob versioning acts as an extra layer of data protection and can be used for retention scenarios such as recovering objects that have been accidentally or intentionally deleted, or overwritten by users or applications.
Audit
To determine if blob versioning is enabled for your Microsoft Azure Storage accounts, perform the following operations:
Remediation / Resolution
To ensure data protection and enable blob versioning for your Microsoft Azure Storage accounts, perform the following operations:
References
- Azure Official Documentation
- Data protection overview
- Blob versioning
- Optimize costs by automatically managing the data lifecycle
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az storage account list
- az storage account blob-service-properties show
- az storage account blob-service-properties update