π§ AWS Account IAM Password Policy minimum password length is 14 characters or less - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:29.441851593Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | a01 | βοΈ 199 | βοΈ CA10__AWS_IAM_Password_Policies__r.has(INCOMPLIANT) | βοΈ null |
| π’ | a02 | βοΈ 200 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/account/password-policy-minimum-password-length-14/policy.yaml | 9E0317C47134062C41703D01E9A127CD |
| Open | /ce/ca/aws/account/password-policy-minimum-password-length-14/prod.logic.yaml | 7281703E2186B05FF152C85DEB12C6C4 |
| Open | /ce/ca/aws/account/password-policy-minimum-password-length-14/test-data.json | 37170936C607F153D212CA42DD9533AF |
| Open | /types/CA10__CaAwsPasswordPolicy__c/object.extracts.yaml | 2C1D97EF4F574F9BE1A9C1EB7CAE6A9C |
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β
---
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."