Skip to main content

🧠 AWS Backup Vault contains unencrypted Recovery Points - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:32:34.392330409Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10A1__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null
🟒test3βœ”οΈ 199βœ”οΈ CA10A1__AWS_Backup_Recovery_Points__r.has(INCOMPLIANT)βœ”οΈ null
🟒test4βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null
🟒test5βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/policy.yamlED057226DCABF818CB329D20CFAAF4DB
Open/ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/prod.logic.yaml09A47702D3E4F53707F0A491A3CF5239
Open/ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/test-data.json6E39716EE48F994F12AEA7F4AC5B9B22
Open/types/CA10A1__CaAwsBackupRecoveryPoint__c/object.extracts.yaml03645351ED418265EF3EFF8207F505A7

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/backup/vault-contains-unencrypted-recovery-points/prod.logic.yaml

Content​

Open File

---
inputType: "CA10A1__CaAwsBackupBackupVault__c"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Backup Vault contains one or more unencrypted Recovery Points."
remediationMessage: "Ensure all Recovery Points are encrypted. This may require configuring the source resource's encryption settings."
check:
RELATED_LIST_HAS:
status: "INCOMPLIANT"
relationshipName: "CA10A1__AWS_Backup_Recovery_Points__r"
otherwise:
status: "COMPLIANT"
currentStateMessage: "All Recovery Points in this Backup Vault are encrypted."
relatedLists:
- relationshipName: "CA10A1__AWS_Backup_Recovery_Points__r"
importExtracts:
- file: "/types/CA10A1__CaAwsBackupRecoveryPoint__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Recovery Point is not encrypted with a KMS key."
remediationMessage: "Encrypt this Recovery Point."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10A1__kmsMasterKeyId__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The Recovery Point is encrypted with a KMS key."