logo

Database

Azure Container Soft Delete Disabled

Description

Detects Azure Storage Accounts where blob container soft delete protection is either disabled or configured with an insufficient retention period. Soft delete helps prevent accidental or malicious deletion of data by keeping deleted objects recoverable for a specified time period.

Weakness:

101 - Lack of protection against deletion

Category: Functionality Abuse

Detection Strategy

    Checks if container_delete_retention_policy is completely missing from the blob service properties

    Checks if container_delete_retention_policy is disabled (enabled = false)

    Checks if retention period is less than the minimum required days (currently 7 days)

    Reports a vulnerability for any storage account that fails one or more of these checks