π§ AWS ACM Certificate Expired - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/acm/certificate-expired/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:29.906386697Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 200 | βοΈ otherwise | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10__status__c') == 'EXPIRED' | βοΈ null |
| π’ | test3 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/acm/certificate-expired/policy.yaml | 266C4A4AA5068EC5154F2BF35B56724B |
| Open | /ce/ca/aws/acm/certificate-expired/prod.logic.yaml | D9EBFB27E9E31B9275ED70564BD02A7B |
| Open | /ce/ca/aws/acm/certificate-expired/test-data.json | 72A52AEE7CC6AF5B30B6EAC1722BB213 |
| Open | /types/CA10__CaAwsAcmCertificate__c/object.extracts.yaml | D20EE095842A506CDEF3AC47E90A5A3B |
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β
---
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."