Help Center/ Log Tank Service/ API Reference/ Permissions and Supported Actions/ Actions Supported by Policy-based Authorization
Updated on 2025-11-14 GMT+08:00

Actions Supported by Policy-based Authorization

This section describes the actions supported by LTS in policy-based authorization.

Supported Actions

LTS provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

  • Permissions: statements in a policy that allow or deny certain operations APIs: REST APIs that can be called by a user who has been granted specific permissions.
  • Actions: specific operations that are allowed or denied in a custom policy.
  • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
  • IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. Administrators can check whether an action supports IAM projects or enterprise projects in the action list. For details about the differences between IAM and enterprise management, see Differences Between IAM and Enterprise Management.

LTS supports the following actions in custom policies.

Table 1 Actions supported by custom policies

Permission

API

Action

Dependencies

IAM Project

Enterprise Project

Creating a log group

POST /v2/{project_id}/groups

lts:groups:create

-

x

Querying all log groups of an account

GET /v2/{project_id}/groups

lts:groups:list

-

x

Modifying a log group

POST /v2/{project_id}/groups/{log_group_id}

lts:groups:put

-

x

Deleting a log group

DELETE /v2/{project_id}/groups/{log_group_id}

lts:groups:delete

-

x

Creating a log stream

POST /v2/{project_id}/groups/{log_group_id}/streams

lts:topics:create

-

Querying all log streams in a specified log group

GET /v2/{project_id}/groups/{log_group_id}/streams

lts:topics:list

-

Deleting a log stream

DELETE /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id}

lts:topics:delete

-

Querying logs

POST /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id}/content/query

lts:logs:list

-

x

Querying structured logs

POST /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id}/struct-content/query

lts:logs:list

-

x

Transferring logs to OBS

POST /v2/{project_id}/log-dump/obs

lts:transfers:create

obs:bucket:CreateBucket

obs:bucket:HeadBucket

obs:bucket:GetLifecycleConfiguration

obs:bucket:PutLifecycleConfiguration

obs:bucket:GetBucketAcl

obs:bucket:PutBucketAcl

x

Disabling log collection beyond free quota

POST /v2/{project_id}/collection/disable

aom:quota:set

-

x

Enabling log collection beyond free quota

POST /v2/{project_id}/collection/enable

aom:quota:set

-

x