π 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
- Located in: π AWS Account
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-f7c2faac
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-f7c2faac | 1 |
Logicβ
- π§ prod.logic.yaml π’
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 Settings
on the Left Pane.- Ensure
Prevent password reuse
is checked.- Ensure
Number of passwords to remember
is set to24
.From Command Lineβ
- Run the following command:
aws iam get-account-password-policy
Ensure 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 Settings
on the Left Pane.- Check
Prevent password reuse
.- Set
Number of passwords to remember
is set to24
.From Command Lineβ
- Run the following command:
aws iam update-account-password-policy --password-reuse-prevention 24
Note: All commands starting with
aws iam update-account-password-policy
can be combined into a single command.