π§ AWS ACM RSA Certificate key length is less than 2048 bits - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:30.489090820Z 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__keyAlgorithm__c') == 'RSA-1024' | βοΈ null |
| π’ | test4 | βοΈ 300 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/policy.yaml | D5787C55F480B64458193A6EA141EBE7 |
| Open | /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/prod.logic.yaml | 0155B90F969CCA46989C00C95D6DDB77 |
| Open | /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/test-data.json | BD258A117D8C1A80DF8120F4347273F7 |
| Open | /types/CA10__CaAwsAcmCertificate__c/object.extracts.yaml | D20EE095842A506CDEF3AC47E90A5A3B |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/acm/rsa-certificate-key-length-less-than-2048-bits/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: "INCOMPLIANT"
currentStateMessage: "The certificate key length is less than 2,048 bits."
remediationMessage: "Replace certificates with RSA key lengths smaller than 2,048 bits."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__keyAlgorithm__c"
right:
TEXT: "RSA-1024"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The certificate uses a key length of at least 2,048 bits."