TMAegis
Plus de règles pour aws

TMA-AWS-2.8

Ensure IAM password policy requires minimum length of 14 or greater

ÉlevéeNiveau 1Revue manuelleaws

Description

Password policies are used, in part, to enforce password complexity requirements. IAM password policies can ensure that passwords meet a minimum length. It is recommended that the password policy require a minimum password length of 14 characters. Setting a password policy with sufficient length requirements increases account resilience against brute force login attempts.

Méthode de vérification

Méthode d'audit: Revue manuelle

Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.

Perform the following to ensure the password policy is configured as prescribed: From Console: 1. Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam 2. Select Account Settings on the left Pane 3. Located the 'Password Policy' section 4. Ensure "Minimum password length" is set to 14 or greater. From Command Line: 1. Run the following command: aws iam get-account-password-policy 2. Ensure the output includes: "MinimumPasswordLength": 14 (or higher)

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

Perform the following to set the password policy as prescribed: From Console: 1. Login to AWS Console (with appropriate permissions to View Identity Access Management Account Settings) 2. Go to IAM Service 3. Select Account Settings on the Left Pane 4. Set "Minimum password length" to 14 or greater 5. Select "Apply password policy" From Command Line: 1. Run the following command: aws iam update-account-password-policy --minimum-password-length 14 Note: Note: All commands starting with "aws iam update-account-password-policy" can be combined into a single command.

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
authawscloudiam
Référence
CIS Amazon Web Services Foundations Benchmark v7.0.0 - 2.8 Ensure IAM password policy requires minimum length of 14 or greater