For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/z23-f9p-six.md. A documentation index is available at /llms.txt.

Password policy should prevent password reuse

Description

AWS IAM account password policies should prevent password reuse by remembering at least the last 24 passwords for each user. Allowing password reuse increases the risk of account compromise, particularly when previously exposed or weak passwords are reused. This rule fails when Prevent password reuse is not enabled or when PasswordReusePrevention is set below 24.

Remediation

In the IAM console, select Account settings, edit the password policy, check Prevent password reuse, set the number of remembered passwords to 24 or greater, and save the policy. See Set an account password policy for IAM users.

References