turbot/alicloud

steampipe plugin install alicloudsteampipe plugin install alicloud

Table: alicloud_ram_security_preference

Alibaba Cloud RAM users security preference provides better security to user.

Examples

Basic security preference info

select
allow_user_to_change_password,
allow_user_to_manage_access_keys,
allow_user_to_manage_mfa_devices,
allow_user_to_manage_public_keys,
enable_save_mfa_ticket,
login_session_duration
from
alicloud_ram_security_preference;

Check if user have access to change password

select
allow_user_to_change_password
from
alicloud_ram_security_preference;

Check if user have access to manage public access key

select
allow_user_to_manage_public_keys
from
alicloud_ram_security_preference;

Get the log on session duration of User

select
login_session_duration
from
alicloud_ram_security_preference;

.inspect alicloud_ram_security_preference

Alibaba Cloud RAM Security Preference

NameTypeDescription
account_idtextThe Alicloud Account ID in which the resource is located.
allow_user_to_change_passwordbooleanIndicates whether RAM users can change their passwords.
allow_user_to_manage_access_keysbooleanIndicates whether RAM users can manage their AccessKey pairs.
allow_user_to_manage_mfa_devicesbooleanIndicates whether RAM users can manage their MFA devices.
allow_user_to_manage_public_keysbooleanIndicates whether RAM users can manage their public keys.
enable_save_mfa_ticketbooleanIndicates whether RAM users can save security codes for multi-factor authentication (MFA) during logon. Each security code is valid for seven days.
login_network_masksjsonbThe subnet mask that indicates the IP addresses from which logon to the Alibaba Cloud Management Console is allowed. This parameter applies to password-based logon and single sign-on (SSO). However, this parameter does not apply to API calls that are authenticated based on AccessKey pairs. May be more than one CIDR range. If empty then login is allowed from any source.
login_session_durationbigintThe validity period of a logon session of a RAM user. Unit: hours.
regiontextThe Alicloud region in which the resource is located.