Help Center/ Cloud Trace Service/ API Reference/ Permissions and Supported Actions/ Actions Supported by Identity Policy-based Authorization
Updated on 2025-12-31 GMT+08:00

Actions Supported by Identity Policy-based Authorization

IAM provides system-defined identity policies to define common actions supported by cloud services. You can also create custom identity policies using the actions supported by cloud services for more refined access control.

In addition to IAM, the Organizations service also provides Service Control Policies (SCPs) to set access control policies.

SCPs do not actually grant any permissions to a principal. They only set the permissions boundary for the principal. When SCPs are attached to a member account or an organizational unit (OU), they do not directly grant permissions to that member account or OU. Instead, the SCPs just determine what permissions are available for that member account or the member accounts under that OU. The granted permissions can be applied only if they are allowed by the SCPs.

To learn more about how IAM is different from Organizations for access control, see What Are the Differences in Access Control Between IAM and Organizations?

This section describes the elements used by IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.

Actions

Actions are specific operations that are allowed or denied in an identity policy.

  • The Access Level column describes how the action is classified (list, read, or write). This classification helps you understand the level of access that an action grants when you use it in an identity policy.
  • The Resource Type column indicates whether the action supports resource-level permissions.
    • You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your identity policy statements.
    • If this column includes a resource type, you must specify the URN in the Resource element of your statements.
    • Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.

    For details about the resource types defined by CTS, see Resources.

  • The Condition Key column contains keys that you can specify in the Condition element of an identity policy statement.
    • If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
    • If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
    • If the Condition Key column is empty (-) for an action, the action does not support any condition keys.

    For details about the condition keys defined by CTS, see Conditions.

  • The Alias column lists the policy actions that are configured in identity policies. With these actions, you can use APIs for policy-based authorization. For details, see Policies and Identity Policies.

The following table lists the actions that you can define in identity policy statements for CTS.

Table 1 Actions supported by CTS

Action

Description

Access Level

Resource Type (*: required)

Condition Key

Alias

cts:trace:list

Grants permission to query audit traces.

List

-

-

-

cts:tracker:create

Grants permission to create a tracker.

Write

-

-

-

cts:tracker:list

Grants permission to query trackers.

List

-

-

-

cts:tracker:update

Grants permission to update a tracker.

Write

tracker

-

-

cts:tracker:delete

Grants permission to delete a tracker.

Write

tracker

-

-

cts:quota:get

Grants permission to query tracker quotas.

Read

-

-

-

cts:notification:create

Grants permission to create a notification rule.

Write

-

-

-

cts:notification:update

Grants permission to update a key event notification.

Write

notification

-

-

cts:notification:list

Grants permission to query key event notifications.

List

-

-

-

cts:notification:delete

Grants permission to delete a notification rule.

Write

notification

-

-

cts:tag:create

Grants permission to create a resource tag.

Tagging

tracker

-

-

-

cts:tag:delete

Grants permission to delete a resource tag.

Tagging

tracker

-

-

-

cts:notification:listOperation

Grants permission to query all operation lists.

List

-

-

-

cts:trace:listTraceUser

Grants permission to query all operator lists.

List

-

-

-

cts:trace:listResource

Grants permission to query all trace resource type lists.

List

-

-

-

cts:resource:filter

Grants permission to query resources.

List

-

-

-

cts:resource:count

Grants permission to query resource statistics.

List

-

-

-

cts:resourceTag:create

Grants permission to add tags.

Write

tracker *

g:ResourceTag/<tag-key>

-

-

cts:resourceTag:delete

Grants permission to delete a resource tag.

Write

tracker *

g:ResourceTag/<tag-key>

-

cts:tag:listForResource

Grants permission to query resource tags.

List

-

-

-

cts:tag:listForProject

Grants permission to query project tags.

List

-

-

-

Each API of CTS usually supports one or more actions. Table 2 lists the supported actions and dependencies.

Table 2 Actions and dependencies supported by CTS APIs

API

Action

Dependencies

GET /v3/{project_id}/traces

cts:trace:list

-

GET /v3/{project_id}/quotas

cts:quota:get

-

POST /v3/{project_id}/tracker

cts:tracker:create

  • lts:topics:list
  • lts:topics:create
  • lts:groups:list
  • lts:groups:create
  • obs:bucket:CreateBucket
  • obs:bucket:HeadBucket
  • obs:bucket:GetLifecycleConfiguration
  • obs:bucket:PutLifecycleConfiguration
  • obs:bucket:GetBucketAcl
  • obs:bucket:PutBucketAcl
  • kms:cmk:list

PUT /v3/{project_id}/tracker

cts:tracker:update

  • lts:topics:list
  • lts:topics:create
  • lts:groups:list
  • lts:groups:create
  • obs:bucket:CreateBucket
  • obs:bucket:HeadBucket
  • obs:bucket:GetLifecycleConfiguration
  • obs:bucket:PutLifecycleConfiguration
  • obs:bucket:GetBucketAcl
  • obs:bucket:PutBucketAcl
  • kms:cmk:list

GET /v3/{project_id}/trackers

cts:tracker:list

-

DELETE /v3/{project_id}/trackers

cts:tracker:delete

-

POST /v3/{project_id}/notifications

cts:notification:create

  • smn:topic:listTopic
  • iam:users:listUsers
  • iam:groups:listGroups

PUT /v3/{project_id}/notifications

cts:notification:update

  • smn:topic:listTopic
  • iam:users:listUsers
  • iam:groups:listGroups

DELETE /v3/{project_id}/notifications

cts:notification:delete

-

GET /v3/{project_id}/notifications/{notification_type}

cts:notification:list

-

POST /v3/{project_id}/{resource_type}/{resource_id}/tags/create

cts:tag:create

-

DELETE /v3/{project_id}/{resource_type}/{resource_id}/tags/delete

cts:tag:delete

-

GET /v3/{domain_id}/resources

cts:trace:listResource

-

GET /v3/{project_id}/operations

cts:notification:listOperation

-

GET /v3/{project_id}/user-resources

cts:trace:listTraceUser

-

POST /v3/{domain_id}/checkbucket

cts:tracker:list

obs:bucket:ListAllMyBuckets

Resources

A resource type indicates the resources that an identity policy applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the identity policy statements using that action, and the identity policy applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the identity policy applies to all resources. You can also set condition keys in an identity policy to define resource types.

The following table lists the resource types that you can define in identity policy statements for CTS.

Table 3 Resource types supported by CTS

Resource Type

URN

tracker

cts:<region>:<account-id>:tracker:<tracker-id>

notification

cts:<region>:<account-id>:notification:<notification-id>

Conditions

A Condition element lets you specify conditions for when an identity policy is in effect. It contains condition keys and operators.

  • The condition key that you specify can be a global condition key or a service-specific condition key.
    • Global condition keys (with the g: prefix) apply to all actions. Cloud services do not need to provide user identity information. Instead, the system automatically obtains such information and authenticates users. For details, see Global Condition Keys.
    • Service-specific condition keys (with the abbreviation of a service name plus a colon as the prefix, for example, cts:) only apply to operations of the CTS service. For details, see Table 4.
    • The number of values associated with a condition key in the request context of an API call makes the condition key single-valued or multivalued. Single-valued condition keys have at most one value in the request context of an API call. Multivalued condition keys can have multiple values in the request context of an API call. For example, a request can originate from at most one VPC endpoint, so g:SourceVpce is a single-valued condition key. You can tag resources and include multiple tag key-value pairs in a request, so g:TagKeys is a multivalued condition key.
  • A condition operator, a condition key, and a condition value together constitute a complete condition statement. An identity policy can be applied only when its request conditions are met. For supported condition operators, see Condition operators.

The following table lists the condition keys that you can define in SCPs for CTS. You can include these condition keys to specify conditions for when your SCP is in effect.

Table 4 Service-specific condition keys supported by CTS

Service-specific Condition Key

Type

Single-valued/Multivalued

Description

cts:TargetType

String

Single-valued

Filters access permissions based on the data transfer type.

cts:TargetAccountId

String

Single-valued

Filters access permissions based on the domain ID (account ID) of the user to which the destination OBS bucket belongs.

cts:TargetOrgId

String

Single-valued

Filters access permissions based on the organization to which the destination OBS bucket belongs.

cts:TargetOrgPath

String

Single-valued

Filters access permissions based on the OU path of the organization to which the destination OBS bucket belongs.