Skip to main content

🧠 AWS Account IAM Password Policy minimum password length is 14 characters or less - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

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

ResultIdCondition IndexCondition TextRuntime Error
🟒a01βœ”οΈ 199βœ”οΈ CA10__AWS_IAM_Password_Policies__r.has(INCOMPLIANT)βœ”οΈ null
🟒a02βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/account/password-policy-minimum-password-length-14/policy.yaml9E0317C47134062C41703D01E9A127CD
Open/ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml7281703E2186B05FF152C85DEB12C6C4
Open/ce/ca/aws/account/password-policy-minimum-password-length-14/test-data.json37170936C607F153D212CA42DD9533AF
Open/types/CA10__CaAwsPasswordPolicy__c/object.extracts.yaml2C1D97EF4F574F9BE1A9C1EB7CAE6A9C

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsAccount__c"
testData:
- file: test-data.json
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The account does not have a password policy that requires passwords\
\ to be at least 14 characters long."
remediationMessage: "Create or update the password policy to require passwords\
\ to be at least 14 characters."
check:
RELATED_LIST_HAS:
relationshipName: "CA10__AWS_IAM_Password_Policies__r"
status: "INCOMPLIANT"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The account has a password policy that requires passwords\
\ to be at least 14 characters long."
relatedLists:
- relationshipName: "CA10__AWS_IAM_Password_Policies__r"
importExtracts:
- file: /types/CA10__CaAwsPasswordPolicy__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The password policy requires fewer than 14 characters."
remediationMessage: "Increase the minimum password length to at least 14 characters."
check:
LESS_THAN:
left:
EXTRACT: "CA10__minimumPasswordLength__c"
right:
NUMBER: 14.0
otherwise:
status: "COMPLIANT"
currentStateMessage: "The password policy requires passwords to be at least 14 characters long."