For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Alibaba Cloud RAM password policy does not expire in 90 days misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_ALI_16

Category - Subcategory

IAM - Authentication Policies

Provider

ALIBABA_CLOUD

Severity

LOW

Framework

Terraform

Impact

This rule identifies Alibaba Cloud accounts for which do not have password expiration set to 90 days or less. As a best practice, change your password every 90 days or sooner to ensure secure access to the Alibaba Cloud console.

How to Fix

Resource: alicloud_ram_account_password_policy

  • Arguments: max_password_age

To mitigate this issue, ensure the max_password_age attribute in the alicloud_ram_account_password_policy resource is set to a value between 1 and 90.

Example: [source,go]

resource "alicloud_ram_account_password_policy" "example" { ...

  • max_password_age = 180

  • max_password_age = 45 }


Last updated

Was this helpful?