Skip to content

fix(misconf): read ARM blob soft delete from nested blobServices - #11582

Closed
anandhx wants to merge 1 commit into
aquasecurity:mainfrom
anandhx:fix/arm-blob-soft-delete
Closed

anandhx wants to merge 1 commit into
aquasecurity:mainfrom
anandhx:fix/arm-blob-soft-delete

Conversation

@anandhx

@anandhx anandhx commented Nov 7, 2026

Copy link
Copy Markdown

ARM templates enable blob soft delete on a nested blobServices resource. The adapter only read properties.blobServices on the storage account, so AZU-0056 failed even when deleteRetentionPolicy.enabled was true.

Nested blobServices resources are now read. A policy with enabled: false still leaves the retention at 0 days, so the check keeps failing when soft delete is off. An enabled policy that omits days uses Azure's 7-day default.

Fixes #11566

ARM templates set deleteRetentionPolicy on a blobServices child resource. Reading it from the storage account property left AZU-0056 failing when soft delete was enabled.

Signed-off-by: anandhx <anandhuashok6959@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@anandhx
anandhx requested a review from nikpivkin as a code owner November 7, 2026 13:01
@nikpivkin

Copy link
Copy Markdown
Contributor

Duplicate of #11567

@nikpivkin nikpivkin marked this as a duplicate of #11567 Nov 9, 2026
@nikpivkin nikpivkin closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(misconf): ARM adapter does not read blob soft delete policy from nested blobServices resource

2 participants