🧠 Azure Storage Blob Soft Delete is not enabled - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-05-02T12:05:13.570728605Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test1 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | test2 | ✔️ 199 | ✔️ extract('CA10__blobRetentionPolicyState__c') == 'Disabled' || extract('CA10__blobRetentionPolicyState__c').isEmpty() || extract('CA10__blobRetentionPolicyDays__c').isEmpty() | ✔️ null |
| 🟢 | test3 | ✔️ 199 | ✔️ extract('CA10__blobRetentionPolicyState__c') == 'Disabled' || extract('CA10__blobRetentionPolicyState__c').isEmpty() || extract('CA10__blobRetentionPolicyDays__c').isEmpty() | ✔️ null |
| 🟢 | test4 | ✔️ 200 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/storage/blob-soft-delete/policy.yaml | 033EE5F3C52654F07E6186D217B0475F |
| Open | /ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml | 0536EE5AAA56D2259C10D9316652EE10 |
| Open | /ce/ca/azure/storage/blob-soft-delete/test-data.json | 3340B82BB23CEF082380D7C540025AE5 |
| Open | /types/CA10__CaAzureStorageAccount__c/object.extracts.yaml | 2FD9F962F192FC3E335D23D11315B8F9 |
Available Commands
repo-manager policies generate FULL /ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/storage/blob-soft-delete/prod.logic.yaml
Content
---
inputType: "CA10__CaAzureStorageAccount__c"
importExtracts:
- file: "/types/CA10__CaAzureStorageAccount__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The soft delete configuration for Azure Storage Blob Storage is not enabled."
remediationMessage: "Enable soft delete for blob storage."
check:
OR:
args:
- IS_EQUAL:
left:
EXTRACT: "CA10__blobRetentionPolicyState__c"
right:
TEXT: "Disabled"
- IS_EMPTY:
arg:
EXTRACT: "CA10__blobRetentionPolicyState__c"
- IS_EMPTY:
arg:
EXTRACT: "CA10__blobRetentionPolicyDays__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Soft delete for Azure Storage Blob Storage is enabled."