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
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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sas:ListOperation | list |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The data management center of the threat analysis feature. Specify this parameter based on the region where your assets reside. Valid values:
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"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 code | Error code | Error message |
---|---|---|
501 | CloudSiem_Internal_Exception | CloudSiem_Internal_Exception |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-13 | The Error code has changed. The response structure of the API has changed | View Change Details |