Skip to main content

🧠 AWS Secrets Manager Secret Automatic Rotation is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:33:20.489420725Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10A1__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10A1__deletedDate__c').isNotEmpty()βœ”οΈ null
🟒test3βœ”οΈ 399βœ”οΈ extract('CA10A1__rotationEnabled__c') == trueβœ”οΈ null
🟒test4βœ”οΈ 299βœ”οΈ extract('CA10A1__rotationEnabled__c') == falseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/secrets-manager/secret-automatic-rotation/policy.yaml3673698FC013CAE752B5052631076649
Open/ce/ca/aws/secrets-manager/secret-automatic-rotation/prod.logic.yaml40AD335BF1CE5354B63179C122716E74
Open/ce/ca/aws/secrets-manager/secret-automatic-rotation/test-data.json257226E972292860D961B63294E5CEFC
Open/types/CA10A1__CaAwsSecretsManagerSecret__c/object.extracts.yamlEE2C582B7F073CDD9BCEC537B36DB97A

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/secrets-manager/secret-automatic-rotation/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/secrets-manager/secret-automatic-rotation/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/secrets-manager/secret-automatic-rotation/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/secrets-manager/secret-automatic-rotation/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/secrets-manager/secret-automatic-rotation/prod.logic.yaml

Content​

Open File

---
inputType: "CA10A1__CaAwsSecretsManagerSecret__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10A1__CaAwsSecretsManagerSecret__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "This secret is not active."
check:
NOT_EMPTY:
arg:
EXTRACT: "CA10A1__deletedDate__c"
- status: "INCOMPLIANT"
currentStateMessage: "Automatic rotation is not enabled for this secret."
remediationMessage: "Enable automatic rotation to reduce the risk of long-lived credentials being compromised."
check:
IS_EQUAL:
left:
EXTRACT: "CA10A1__rotationEnabled__c"
right:
BOOLEAN: false
- status: "COMPLIANT"
currentStateMessage: "Automatic rotation is enabled for this secret."
check:
IS_EQUAL:
left:
EXTRACT: "CA10A1__rotationEnabled__c"
right:
BOOLEAN: true
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."