System settings

Updated at:

This topic describes the basic, access, authentication, and storage settings of PAM.

Basic settings

Release a PAM instance

You can manually release a PAM instance if it has expired and you no longer need to use it, but you cannot release an instance that has not expired. For more information about the expiration of PAM instances, see Expiration policy.

Warning

After an instance is released, all its logon credentials, O&M policies, and audit data, including recordings, are permanently deleted and cannot be recovered. Proceed with caution.

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. On the Basic Settings tab, click Release next to Instance ID.

  4. In the dialog box that appears, confirm the information and click Release.

Enable automatic network domain activation

A network domain centrally manages network resource configurations for asset operations in PAM. To perform operations on an asset, you must first create a network domain in PAM and add the asset to an activated network domain.

During asset synchronization, PAM automatically identifies the VPCs of your ECS assets and creates corresponding network domains. By default, these network domains remain inactive. To automatically activate network domains during asset synchronization, follow these steps:

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. On the Basic Settings tab, click the image.png icon next to Automatically Activate Network Domains.

Note

Authentication settings

Two-factor authentication adds an extra layer of security on top of your username and password. It requires a second verification step after password authentication when you log on to the operator workbench or a client tool. PAM supports two-factor authentication using dynamic verification codes sent via SMS, email, or TOTP token authentication to effectively reduce security risks from compromised user passwords.

Important

Global multi-factor authentication settings have a lower priority than individual user settings. If a user manually enables or disables two-factor authentication on the User Authorization page, PAM preserves their individual configuration. For more information, see User management.

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. On the Authentication Settings tab, click the image icon to enable two-factor authentication.

    To configure TOTP token authentication, download a standard TOTP authentication application, such as the Alibaba Cloud app. When performing operations through a web browser or a client tool, you must scan the on-screen QR code with the Alibaba Cloud app to obtain a security code for logon.

    1. Web O&M Authentication Method: Supports SMS, email, and TOTP token authentication. You can configure multiple authentication methods simultaneously.

    2. Client O&M Authentication Method: Supports SMS, email, and TOTP token authentication. You can configure only one authentication method.

Access settings

Session settings

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. In the Session Settings section of the Access Settings tab, set the maximum session idle time and maximum session connection duration.

    • Maximum Session Idle Time: The period of inactivity in a session. If the idle time exceeds this value, the session is automatically disconnected. Make sure to save your work promptly.

    • Maximum Session Connection Duration: The maximum duration of a single session. If the session duration exceeds this value, the session is automatically disconnected. Make sure to save your work promptly.

Public or private access

To use a client tool to connect to PAM, you must add a public or private access endpoint. For detailed parameter descriptions, see Configure private O&M access or Configure public O&M access.

Storage settings

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. On the Storage Settings tab, configure settings such as the storage duration for recordings and logs.

    Scenario

    Description

    Actions

    View recording storage status

    View the total and remaining recording storage for your PAM instance.

    If the current storage capacity is insufficient, you can expand it. For more information, see Upgrade a PAM instance.

    Note

    The default recording storage is 20 GB for the Developer Edition and 200 GB for the Lite Edition.

    In the Storage Settings section, view the Recording Storage Status.

    Set recording retention period

    You can increase or decrease the recording retention period. The maximum period is 180 days for the Developer Edition and 365 days for the Lite Edition.

    Warning

    When storage is nearly full, a task automatically runs within 24 hours to delete data that is older than the retention period. Proceed with caution. For example, if you set the retention period to 6 days on August 10, 2023, the system automatically deletes all data from before August 4, 2023 when the storage is nearly full. Data from August 4, 2023 to August 10, 2023 is retained.

    1. In the Storage Settings section, click the image.png icon.

    2. In the Edit Recording Retention Period dialog box, confirm the prompt and set the recording retention period.

    Deliver logs to SLS

    The Developer Edition and Lite Edition support archiving audit logs to Simple Log Service (SLS).

    After you archive audit logs to SLS, you can query and analyze them. You can also forward logs from SLS to third-party platforms, such as Splunk. For more information, see Query and analyze logs or Alibaba Cloud Log Service Add-on for Splunk.

    1. In the Storage Settings section, click Delivery Settings.

    2. From the Region of Central Project drop-down list, select the destination region for centralized log storage.

    3. In the cloud service list, turn on the Operation Logs switch for PAM and set the storage period in the Storage Method column.

    4. View PAM audit logs.

      1. In the left-side navigation pane, click the Audit query icon.

      2. Choose Centralization > PAM to view the audit logs.

        For a description of the SLS log fields, see Authentication settings.

User password policy

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. On the User Password Policy tab, configure the password policy based on the following table and click Save.

    Parameter

    Description

    Security settings

    • Change Password on First Logon: If enabled, users must change their initial password when they first log on to the operator workbench or to PAM by using a client.

    • Change Password After Reset: If enabled, users must change their password the next time they log on with a password after an administrator resets it.

    • Password Leak Detection: PAM can detect weak and publicly leaked passwords. If enabled, PAM checks each new password when a user changes their password and displays a warning on the page. If PAM reports that the new password has appeared in a data leak, the password may be vulnerable to malicious attacks. Do not use it.

      On the password change page, a red error message appears below the input field when the password does not meet the strength requirements (for example, Password must contain uppercase letters). Password leak detection displays a yellow warning banner that shows the number of times the password has appeared in data leaks. You can configure password rules under System Settings > User Password Policy.

    Note

    Passwords can be changed and reset only from the operator workbench. For more information about how to log on to the operator workbench, see O&M console.

    Complexity

    Set the strength for user passwords, including length and complexity requirements. PAM provides preset templates for password length and complexity. You can select a template or customize the configuration. The new settings take effect after you save them.

    • Password Length: The value can be from 8 to 64 characters.

    • Complexity: By default, a password must contain uppercase letters, lowercase letters, and digits.

      Note

      Changes to complexity requirements do not affect existing passwords. New passwords must comply with the new requirements.

    Periodic password change

    • Enabled: You can set the password validity period, configure expiration reminders, and enforce password changes.

      Note

      If a password expires, the user cannot log on. The user must retrieve the password or ask an administrator to reset it.

      • Password Validity Period: Sets the validity period of a password. The value can be from 1 to 365 days.

      • Expiration Reminder: If enabled, PAM reminds the user to change their password upon logon before the password expires. The user can choose to change the password immediately or skip the change for that session. The reminder period can be from 1 to 30 days. For example, a value of 1 means the user is reminded starting one day before the password expires.

      • Forced Password Change Configuration: Set the number of days before password expiration when the user is forced to change their password upon logon and cannot skip the change. The value can be from 1 to 30 days.

    • Disabled: Passwords never expire.

    Password history

    • Enable Password History Check: If enabled, PAM records the historical passwords of an account. When a user changes their password, they cannot reuse the last N historical passwords.

    • Number of Historical Passwords to Remember: Set the number of historical passwords that PAM remembers. The value can be from 1 to 10. For example, a value of 1 means that the new password cannot be the same as the previous password.

    Forgot password

    PAM allows users to update their passwords by using the forgot password feature.

    If this option is enabled, users can use the forgot password feature during the logon process. They can retrieve their password via SMS or email. If a user has no mobile number or email address configured, their password cannot be retrieved. They must contact an administrator to reset the password.

    On the operator workbench logon page, the Forgot Password link is below and to the right of the Log On button.

Credential rotation policy

  1. Log on to the Privileged Access Management console.

  2. In the left-side navigation pane, click System Settings.

  3. On the Credential Rotation Policy tab, configure the password complexity and password rules, and then click Save.

    Parameter

    Description

    Password complexity

    Specify whether passwords must contain uppercase letters, lowercase letters, digits, and special characters (@ % + \ / ' ! # $ ^ ? : , ( ) { } [ ] ~ - _ .).

    Password rules

    The password must be 8 to 15 characters long.

Appendix

O&M audit log fields

SLS log field

Description

user_id

The user ID.

instance_id

The instance ID.

operator_id

The operator ID.

user_type

The user type. Valid values:

  • RAM_ROOT: Alibaba Cloud account (root account)

  • RAM_SUB_USER: RAM user (sub-account)

  • BUILTIN: local PAM account

system_account

The system account name of the operator.

asset_ip

The IP address of the asset.

asset_name

The name of the asset.

asset_port

The port of the asset.

asset_region_id

The region where the asset resides.

asset_id

The asset ID.

asset_type

The asset type. Valid values:

  • Ecs: an ECS asset

  • Ack: an ACK asset

content

The command content.

credential_name

The credential name.

event_time

The time of the event.

intercepted

Indicates whether the action was intercepted.

protocol_type

The protocol type. Valid values:

  • ssh: SSH protocol

  • rdp: RDP protocol

  • k8s: SPDY protocol

region_id

The region where the session occurred.

session_id

The unique ID of the session.

source_ip

The source IP address.

event_type

The event type. Valid values:

  • session: a session event

  • cmd: a command event

event_sub_type

The event subtype. Valid values:

  • close: session closed

  • open: session started

  • command: command executed

  • update_asset_fingerprint: fingerprint updated

video_size

The size of the recording.

Operation audit log fields

SLS log field

Description

user_id

The user ID.

instance_id

The instance ID.

event_sub_type

The event subtype. Valid values:

  • FILE_Upload: file upload

  • FILE_Download: file download

event_type

The event category. Valid value:

FILE: file-related operations

event_detail

The event details.

event_content

The event content.

event_id

The event ID.

user_name

The username of the operator.

user_type

The user type. Valid values:

  • RAM_ROOT: Alibaba Cloud account (root account)

  • RAM_SUB_USER: RAM user (sub-account)

  • BUILTIN: local PAM account

operator_id

The operator ID.

start_time

The start time of the event.

end_time

The end time of the event.