Queries alerts that are generated for malicious files.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CurrentPage | integer | Yes | The page number. | 1 |
PageSize | integer | Yes | The number of entries per page. | 20 |
RiskLevel | string | No | The risk level of the alert. Valid values:
| low |
EventName | string | No | The name of the alert. | WebShell |
Source | string | No | The method that is used to detect the malicious file. Valid values:
| OSS |
OssKey | string | No | The key of the file that is stored in an OSS bucket. | 1/2022/06/23/15/41/16559701077444693a0c6-33b2-4cc2-a99f-9f38b8b8**** |
BucketName | string | No | The name of the OSS bucket. | ltrbuck**** |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Md5 | string | No | The MD5 hash value of the file. | 0552c44e243abdea1729d4507bce**** |
TimeStart | long | No | The beginning of the time range during which the exception is detected. | 1683603086000 |
TimeEnd | long | No | The end of the time range during which the exception is detected. | 1683862286000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 253
},
"Data": [
{
"OssKey": "1/2023/07/21/10/18/16899059356518bcf6c64-a04e-492d-a421-4ae8b888****",
"Md5": "5b394b54ca632fe51c4ab4a6dbaf****",
"BucketName": "hz-new01****",
"RiskLevel": "medium",
"Source": "OSS",
"FilePath": "/usr/local****",
"EventName": "WebShell",
"EventId": 911273,
"FirstTime": 1694576692000,
"LastTime": 1694576692000,
"Sha256": "3a6fed5fc11392b3ee9f81caf017b48640d7458766a8eb0382899a605b41****",
"Sha1": "3c01bdbb26f358bab27f267924aa2c9a03fc****",
"DisplaySandboxResult": "true",
"Details": [
{
"Name": "DownloadUrl",
"NameDisplay": "DownloadUrl",
"Type": "html",
"Value": "http://gcx.cn-hangzhou.aliyuncs.com/****",
"ValueDisplay": "http://gcx.cn-hangzhou.aliyuncs.com/****"
}
]
}
]
}
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.