Back to controls

Ensure users not logged on for 90 days or longer are disabled for console logon

### Description

Category

Controls

Medium

Applies to

Alibaba Cloud

Coverage

1 queries

Asset types

1 covered

Overview

Description

Alibaba Cloud RAM users can logon to Alibaba Cloud console by using their user name and password. If a user has not logged on for 90 days or longer, it is recommended to disable the console access of the user.

Rationale

Disabling users from having unnecessary logon privileges will reduce the opportunity that an abandoned user or a user with compromised password to be used.

Impact

RAM users who still need to log on to the management console or other Alibaba Cloud sites may encounter logon failure.

Remediation guidance

Perform the following to disable console logon for a user:

Via the management console

  1. Login to the RAM Console
  2. Under Identities, choose Users
  3. In the User Logon Name/Display Name column, click the username of the target RAM user
  4. In the Console Logon Management section, click Modify Logon Settings
  5. In the Console Password Logon section, select Disabled
  6. Click OK

Via CLI

aliyun ram DeleteLoginProfile --UserName 

Service-wide remediation

Recommended when many resources are affected: fix the platform baseline first so new resources inherit the secure setting, then remediate the existing flagged resources in batches.

Alibaba Cloud

Use Resource Directory guardrails, account baselines, and IaC modules so the secure setting is applied consistently across environments.

Operational rollout

  1. Fix the baseline first at the account, subscription, project, cluster, or tenant scope that owns this control.
  2. Remediate the currently affected resources in batches, starting with internet-exposed and production assets.
  3. Re-scan and track approved exceptions with an owner and expiry date.

Query logic

These are the stored checks tied to this control.

Users not logged on for 90 days or longer are disabled for console logon

Connectors

Alibaba Cloud

Covered asset types

IAMUser

Expected check: eq []

AlibabaIAM5 {...AssetFragment}
Cyscale Logo
Cyscale is an agentless cloud-native application protection platform (CNAPP) that automates the contextual analysis of cloud misconfigurations, vulnerabilities, access, and data, to provide an accurate and actionable assessment of risk.

Stay connected

Receive new blog posts and product updates from Cyscale

By clicking Subscribe, I agree to Cyscale’s Privacy Policy


© 2026 Cyscale Limited

LinkedIn icon
Twitter icon
Facebook icon
crunch base icon
angel icon