Skip to main content

๐Ÿง  AWS IAM Server Certificate is expired - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

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

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸขa1โœ”๏ธ 199โœ”๏ธ extract('CA10__expiration__c').beforeToday()โœ”๏ธ null
๐ŸŸขa2โœ”๏ธ 200โœ”๏ธ otherwiseโœ”๏ธ null

Generation Bundleโ€‹

FileMD5
Open/ce/ca/aws/iam/delete-expired-server-certificate/policy.yamlE936F9AFBA4EE853054FFCEAA69CFE18
Open/ce/ca/aws/iam/delete-expired-server-certificate/prod.logic.yaml04D8035C256F572BEF90962472466FC9
Open/ce/ca/aws/iam/delete-expired-server-certificate/test-data.json9B2A582BEEB6C1D8D1FF2576EC220423
Open/types/CA10__CaAwsServerCertificate__c/object.extracts.yaml4D35273CC60343F6F1212EB66D5DD434

Available Commandsโ€‹

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

Contentโ€‹

Open File

---
inputType: "CA10__CaAwsServerCertificate__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsServerCertificate__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The IAM server certificate is expired."
remediationMessage: "Delete the expired IAM server certificate."
check:
IS_BEFORE_TODAY:
arg:
EXTRACT: CA10__expiration__c
otherwise:
status: "COMPLIANT"
currentStateMessage: "The IAM server certificate is not expired."