Queries whitelist rules.
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:QueryGroupedSecurityEventMarkMissList | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
EventName | string | No | The name of the alert event. The value indicates a subtype. | Login with unusual location |
Remark | string | No | The condition that is used to query alert events by asset. You can specify a value of the following types:
| 222.185.XX.XX |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
CurrentPage | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 20. | 20 |
From | string | No | The ID of the request source. Set the value to sas. | sas |
SourceIp | string | No | The source IP address of the request. | 113.66.XX.XX |
DisposalWay | string | No | The handling method. Valid values:
| 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"List": [
{
"AliUid": 31412647,
"EventType": "Unusual Logon",
"EventTypeOriginal": "Unusual logon\n",
"EventName": "Login with unusual location",
"EventNameOriginal": "login_common_location",
"Uuids": "6985b88c-eb19-4d27-98ad-e4a42312****,5721d503-9b04-4243-89ca-1fb8ca5e****,db2678c3-10e3-4a20-92f1-265f6****",
"Field": "type",
"FiledAliasName": "Logon Time",
"FieldValue": "root",
"Operate": "contains",
"DisposalWay": "auto_add_white"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 69,
"Count": 9
},
"Success": true,
"Code": "200",
"Message": "There was an error with your request.",
"RequestId": "965F9282-D403-4FA2-B1B9-10F62DC719BF"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | NoPermission | no permission | - |
400 | UnknownError | UnknownError | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|