Skip to main content

🧠 Azure Key Vault Purge Protection function is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-06-06T12:03:37.180834603Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__purgeProtection__c') != 'Enabled'βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10__purgeProtection__c') == 'Enabled'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/azure/key-vault/soft-delete-and-purge-protection/policy.yamlC3F0DC0E7547C9604E8AACBADCDA7475
Open/ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yaml0D218206785405B2A6C29AC88B495F25
Open/ce/ca/azure/key-vault/soft-delete-and-purge-protection/test-data.json57BFB547382BB1FD818E8DE003235992
Open/types/CA10__CaAzureKeyVault__c/object.extracts.yaml120E8A73DCC969A90893ADC71C57D3FD

Available Commands​

repo-manager policies generate FULL /ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAzureKeyVault__c"
importExtracts:
- file: "/types/CA10__CaAzureKeyVault__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Purge protection is disabled."
remediationMessage: "Enable purge protection."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__purgeProtection__c"
right:
TEXT: "Enabled"
- status: "COMPLIANT"
currentStateMessage: "Purge protection is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__purgeProtection__c"
right:
TEXT: "Enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."