All Products
Search
Document Center

Security Center:Alibaba Cloud Product OpenAPI Component

Last Updated:Mar 31, 2026

The Alibaba Cloud Product OpenAPI component lets you call any Alibaba Cloud service API from within a Security Center SOAR playbook, using a RAM role to authenticate the request.

Available action

ActionDescription
assumeApiCall an Alibaba Cloud OpenAPI by assuming a RAM role

Prerequisites

Before you begin, make sure you have:

  • A Security Center SOAR playbook open in the canvas editor

  • The RAM role AliyunSiemSoarExecutionDefaultRole created — if it does not exist yet, complete Step 4: Grant API permissions before configuring the component

  • The required access policy attached to that role

Important

After you select an API operation, verify that the required access policy is attached to the execution role. If it is not, the playbook action will fail at runtime.

Configure the component

image

Step 1: Select an Alibaba Cloud service

  1. In the Component Actions area, click Cloud Service Component.

  2. In the Cloud Service Component dialog box, select an Alibaba Cloud native product.

    Note

    Do not select Threat Intelligence here. For threat intelligence lookups, use the AliyunThreatIntelligence component instead.

image

Step 2: Select an API operation

On the canvas, click the Alibaba Cloud Product Component. In the Action area, select the API operation to call.

image

Step 3: Configure API parameters

After selecting an API operation, the parameter configuration page opens automatically. Click the API configuration button to reopen it at any time.

image

The configuration page has four sections:

Account

The Alibaba Cloud account defaults to the ID of the currently logged-on account. Use the expression ${event._tenant_id} to retrieve it dynamically.

To target a member account instead, enter the member account's UID. To find a member account UID:

Endpoint

Click Recommended Address to get a system-suggested endpoint. Endpoints follow one of these formats:

FormatExample
[ProductCode].[RegionId].aliyuncs.comecs.cn-hangzhou.aliyuncs.com
[ProductCode].aliyuncs.comram.aliyuncs.com
Important

Recommended addresses are for reference only. For accurate endpoint information, check the Alibaba Cloud official documentation for the specific service.

API parameters

The system automatically retrieves request parameters from the API reference for the selected operation. Enter the parameter values as described in the documentation.

Note

Click image in the lower-left corner to open the API reference directly.

Advanced configuration: Pagination

If the API operation returns paginated results, configure pagination in the advanced settings. Two modes are available:

Choose automatic paging when the API returns a total count and uses page number and page size parameters.

Choose automatic scrolling when the API returns a cursor token (such as NextToken) instead of a total count.

Automatic paged query

FieldDescription
Maximum number of requestsMaximum number of recursive API calls
Total count pathJSONPath to the total count field in the response
Page mapping fieldRequest parameter that maps to the page number, e.g., PageNumber
Items per page mapping fieldRequest parameter that maps to the page size, e.g., PageSize

For Total count path, use JSONPath dot-notation (.fieldName):

  • Single-layer response — use .FieldName, for example .TotalCount:

    {
      "TotalCount": 1,
      "PageNumber": 1,
      "PageSize": 10
    }
  • Nested response — concatenate each level with ., for example .Page.TotalCount:

    {
      "Page": {
        "TotalCount": 22,
        "PageNumber": 1,
        "PageSize": 10
      }
    }

Automatic scrolling query

FieldDescription
Maximum number of requestsMaximum number of recursive API calls
Cursor field mappingRequest parameter that maps to the cursor, e.g., NextToken
Cursor retrieval pathJSONPath to the cursor value in the response

For Cursor retrieval path, use JSONPath dot-notation (.fieldName):

  • Single-layer response — use .FieldName, for example .NextToken:

    {
      "CurrentPage": 1,
      "PageSize": 10,
      "TotalCount": 202,
      "Count": 4,
      "NextToken": "B604532DEF982B875E8360A6EFA3B***"
    }
  • Nested response — concatenate each level with ., for example .PageInfo.NextToken:

    {
      "PageInfo": {
        "CurrentPage": 1,
        "PageSize": 10,
        "TotalCount": 202,
        "Count": 4,
        "NextToken": "B604532DEF982B875E8360A6EFA3B***"
      },
      "Success": true,
      "Code": 200,
      "Message": "successful",
      "RequestId": "CB414DB5-F692-5DAB-9F0F-975C060AF***",
      "HttpStatusCode": 200
    }

Recursive invocation

Set the interval (in seconds) between recursive calls to avoid triggering API throttling.

Step 4: Grant API permissions

The system displays the role name and access policy required to call the selected API operation.

image

Create the execution role (skip if already created)

Go to the RAM console and complete the quick authorization to create the role. On the Resource Access Management quick authorization page, click Confirm Authorization.

Important

If you do not have permission to create a role, contact a RAM administrator — a RAM user with Resource Management permissions, or the root account — to create the role in the RAM console and attach a trust policy. For details, see Create a RAM role for a trusted Alibaba Cloud service. Use the following values:

ParameterValue
Principal typeAlibaba Cloud Service
Principal namecloudsiem.sas.aliyuncs.com
Role nameAliyunSiemSoarExecutionDefaultRole

Attach API permissions (skip if already attached)

  1. Click Attach Policy. In the access policy selection dialog box, select the System-recommended Policy.

    Note

    If no suitable policy is listed, create a custom one in the RAM console. For details, see Create custom policies.

  2. Click OK. On the Resource Access Management authorization page, click Confirm Authorization.

Important

If you do not have permission to attach policies, contact a RAM administrator to attach the System-recommended Policy to the AliyunSiemSoarExecutionDefaultRole role. For details, see Manage permissions for a RAM role.