Skip to main content

🧠 AWS ACM Certificate Expired - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

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

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__status__c') == 'EXPIRED'βœ”οΈ null
🟒test3βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/acm/certificate-expired/policy.yaml266C4A4AA5068EC5154F2BF35B56724B
Open/ce/ca/aws/acm/certificate-expired/prod.logic.yamlD9EBFB27E9E31B9275ED70564BD02A7B
Open/ce/ca/aws/acm/certificate-expired/test-data.json72A52AEE7CC6AF5B30B6EAC1722BB213
Open/types/CA10__CaAwsAcmCertificate__c/object.extracts.yamlD20EE095842A506CDEF3AC47E90A5A3B

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/acm/certificate-expired/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/acm/certificate-expired/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/acm/certificate-expired/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/acm/certificate-expired/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/acm/certificate-expired/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsAcmCertificate__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsAcmCertificate__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "This certificate is expired."
remediationMessage: "Remove, re-import, or renew the expired certificate."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "EXPIRED"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The certificate is not expired."