Skip to main content

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

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-07T12:02:59.583804789Z 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.yaml3C26E4E8A9519EA91FEDBCB7BF41C1EA
Open/ce/ca/azure/key-vault/soft-delete-and-purge-protection/prod.logic.yamlBFDE1A0D4ED5704502A2F03D542844CC
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: "The Purge Protection is disabled."
remediationMessage: "Consider enabling Purge Protection function."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__purgeProtection__c"
right:
TEXT: "Enabled"
- status: "COMPLIANT"
currentStateMessage: "The Purge Protection function is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__purgeProtection__c"
right:
TEXT: "Enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."