All Products
Search
Document Center

Resource Access Management:ActionTrail

Last Updated:Sep 30, 2021

Resource Access Management (RAM) users or RAM roles must be granted permissions before they can access cloud resources. RAM uses policies to define permissions. A cloud service defines elements that can be used in a policy statement, such as Action, Resource, and Condition. This topic describes the permissions on ActionTrail.

The code (RamCode) in RAM that is used to indicate ActionTrail is actiontrail. You can grant permissions on ActionTrail at the operation level.

Action

The following table describes the values that you can use in the Action element of a policy statement. The values are defined by ActionTrail. The following list describes the columns in the table:
  • Action: the value that you can use in the Action element to specify the operation on a resource.

  • API: the API operation that you can call to perform the action. In most cases, only one API operation of a cloud service is required to perform an action. In some cases, multiple API operations must be called to perform an action, or an API operation can be called to perform multiple actions.

  • Access level: the access level of each action. The levels are read, write, and list.

  • Resource type: the type of the resource on which you can authorize a RAM user or a RAM role to perform the operation. Take note of the following items:

    • The required resource types are displayed in bold characters.

    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the action.

  • Condition key: the condition keys that are defined by a cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Policy elements.

  • Dependent action: other actions that a RAM user or a RAM role must have permissions to perform the action. To successfully call the action, a RAM user or a RAM role must have the permissions to perform the dependent action.

Actions

APIs

Access level

Resource types

Condition keys

Dependent actions

actiontrail:CreateDeliveryHistoryJob

CreateDeliveryHistoryJob

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:CreateServiceTrail

N/A

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:CreateTrail

CreateTrail

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:DeleteServiceTrail

N/A

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:DeleteTrail

DeleteTrail

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:DescribeTrails

DescribeTrails

Read

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:DescribeTrails

DescribeTrails

List

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:GetInsightSelectors

N/A

Read

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:GetTrailStatus

GetTrailStatus

Read

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:ListDeliveryHistoryJobs

ListDeliveryHistoryJobs

List

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:ListServiceInfo

N/A

List

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:ListServiceTrail

N/A

List

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:LookupAggregationEvents

N/A

Read

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:LookupEvents

LookupEvents

List

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:PutInsightSelectors

N/A

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:RemoveDefaultTrail

N/A

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:SetDefaultTrail

N/A

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:StartLogging

StartLogging

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:StopLogging

StopLogging

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

actiontrail:UpdateTrail

UpdateTrail

Write

All resources


acs:actiontrail:{#regionId}:{#accountId}:*


N/A

N/A

Resource

You cannot specify an Alibaba Cloud Resource Name (ARN) in the Resource element in a policy statement for ActionTrail. If you want to authorize a RAM user or a RAM role to access ActionTrail, specify "Resource":"*" in the policy statement.

Condition

ActionTrail does not define service-specific condition keys. For more information about common condition keys that are defined by Alibaba Cloud, see Policy elements.