turbot/alicloud_compliance

GitHub
Loading controls...

Control: 1.11 Ensure RAM password policy requires minimum length of 14 or greater

Description

RAM password policies can be used to ensure password complexity. It is recommended that the password policy require a minimum of 14 or greater characters for any password.

Remediation

Perform the following to set the password policy:

From Console

  1. Logon to RAM console.
  2. Choose Identities > Settings.
  3. In the Password Strength Settings section, click Edit Password Rule.
  4. In the Password Length field, enter <14> or a greater number.
  5. Click OK.

From Command Line

aliyun ram SetPasswordPolicy --MinimumPasswordLength 14

Usage

Run the control in your terminal:

steampipe check alicloud_compliance.control.cis_v100_1_11

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share alicloud_compliance.control.cis_v100_1_11

SQL

This control uses a named query:

ram_account_password_policy_min_length_14

Tags