All Products
Search
Document Center

Security Center:ListOperation

Last Updated:May 22, 2024

Queries the resource-related permissions granted to the current user. The threat analysis feature supports two types of identities: administrators and common members. An administrator is granted all permissions, and a common member is granted permissions to access only specific resources.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the 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 operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListOperationList
  • acs:yundun-sas::{#accountId}:*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The data management center of the threat analysis feature. Specify this parameter based on the region where your assets reside. Valid values:

  • cn-hangzhou: Your assets reside in regions in the Chinese mainland or in the China (Hong Kong) region.
  • ap-southeast-1: Your assets reside in regions outside the Chinese mainland, excluding the China (Hong Kong) region.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

CloudSiemResponse

Dataobject

The response parameters.

AdminOrNotboolean

Indicates whether the user is an administrator. Valid values:

  • true
  • false
true
OperationListarray

The resources on which the permissions are granted.

string

The resources that are managed by threat analysis. Valid values:

  • ALERT
  • LOG
ALERT
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codeinteger

The HTTP status code.

200
Messagestring

The message returned.

successful
ErrCodestring

The error code.

SLS.Sls4Service.Error
RequestIdstring

The request ID.

CCEEE128-6607-503E-AAA6-C5E57D94****
DyCodestring

The dynamic error code.

DeleteJobConfigError
DyMessagestring

The dynamic message.

Task[%s] is submitting, please try it later

Examples

Sample success responses

JSONformat

{
  "Data": {
    "AdminOrNot": true,
    "OperationList": [
      "ALERT"
    ]
  },
  "Success": true,
  "Code": 200,
  "Message": "successful",
  "ErrCode": "SLS.Sls4Service.Error",
  "RequestId": "CCEEE128-6607-503E-AAA6-C5E57D94****",
  "DyCode": "DeleteJobConfigError",
  "DyMessage": "Task[%s] is submitting, please try it later"
}

Error codes

HTTP status codeError codeError message
501CloudSiem_Internal_ExceptionCloudSiem_Internal_Exception

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-13The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 501
    Added Error Codes: 500
Output ParametersThe response structure of the API has changed.