Queries alert handling rules by page.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Id | long | No | The ID of the alert handling rule. | 49616 |
EventType | string | No | The alert type.
| sensitiveFile |
EventKey | string | No | The keyword of the alert item. | PEM |
EventName | string | No | The name of the alert item. | PEM |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
CurrentPage | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"List": [
{
"Id": 2646624,
"EventType": "sensitiveFile",
"OperationCode": "whitelist",
"Conditions": "[{\\\"condition\\\": \\\"MD5\\\", \\\"type\\\": \\\"equals\\\", \\\"value\\\": \\\"0083a31cc0083a31ccf7c10367a6e783e\\\"}]\n",
"Scenarios": "{\\\"type\\\": \\\"repo\\\", \\\"value\\\": \\\"test-aaa/shenzhen-repo-01\\\"}\n",
"EventKey": "PEM",
"EventName": "PEM"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 109
}
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "A3D7C47D-3F11-57BB-90E8-E5C20C61****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
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.