π§ AWS ACM Certificate expires in the next 7 days - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:30.308417241Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10__status__c') != 'ISSUED' | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ extract('CA10__renewalEligibility__c') != 'INELIGIBLE' | βοΈ null |
| π’ | test4 | βοΈ 399 | βοΈ extract('CA10__notAfter__c').withinNextDays(7) | βοΈ null |
| π’ | test5 | βοΈ 400 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/acm/certificate-expires-in-7-days/policy.yaml | 77378F07166D0BBF171876E6B079C4BB |
| Open | /ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml | D6EC744EF8E0A2049AC94E08F4D9C6BA |
| Open | /ce/ca/aws/acm/certificate-expires-in-7-days/test-data.json | EAEC25F87A3E816CE43AF203CD79CAAA |
| Open | /types/CA10__CaAwsAcmCertificate__c/object.extracts.yaml | D20EE095842A506CDEF3AC47E90A5A3B |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/acm/certificate-expires-in-7-days/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAwsAcmCertificate__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsAcmCertificate__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The certificate is not active."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "ISSUED"
- status: "INAPPLICABLE"
currentStateMessage: "The certificate is eligible for automatic renewal."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__renewalEligibility__c"
right:
TEXT: "INELIGIBLE"
- status: "INCOMPLIANT"
currentStateMessage: "The certificate is ineligible for automatic renewal and expires in 7 days or less."
remediationMessage: "Reissue the certificate before it expires."
check:
IS_WITHIN_NEXT_DAYS:
offsetDays: 7
arg:
EXTRACT: CA10__notAfter__c
otherwise:
status: "COMPLIANT"
currentStateMessage: "The certificate is not expiring within 7 days."