π‘οΈ AWS Account IAM Password Policy Number of passwords to remember is not set to 24π’
- Contextual name: π‘οΈ IAM Password Policy Number of passwords to remember is not set to 24π’
- ID:
/ce/ca/aws/account/password-policy-number-of-passwords-to-remember-24 - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: IAM Password Policy
- Internal:
dec-x-f7c2faac
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-f7c2faac | 1 |
Descriptionβ
Descriptionβ
IAM password policies can prevent the reuse of a given password by the same user. It is recommended that the password policy prevent the reuse of passwords.
Rationaleβ
Preventing password reuse increases account resiliency against brute force login attempts.
Auditβ
Perform the following to ensure the password policy is configured as prescribed:
From Consoleβ
- Login to AWS Console (with appropriate permissions to View Identity Access Management Account Settings).
- Go to IAM Service on the AWS Console.
- Click on
Account Settingson the Left Pane.- Ensure
Prevent password reuseis checked.- Ensure
Number of passwords to rememberis set to24.From Command Lineβ
- Run the following command:
aws iam get-account-password-policyEnsure the output of the above command includes
"PasswordReusePrevention": 24.Referencesβ
Remediationβ
Remediationβ
Perform the following to set the password policy as prescribed:
From Consoleβ
- Login to AWS Console (with appropriate permissions to View Identity Access Management Account Settings).
- Go to IAM Service on the AWS Console.
- Click on
Account Settingson the Left Pane.- Check
Prevent password reuse.- Set
Number of passwords to rememberis set to24.From Command Lineβ
- Run the following command:
aws iam update-account-password-policy --password-reuse-prevention 24Note: All commands starting with
aws iam update-account-password-policycan be combined into a single command.