Queries the results of the last baseline check by using a specified baseline check policy.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceIp | string | No | The source IP address of the request. | 1.2.XX.XX |
StrategyId | integer | Yes | The ID of the baseline check policy. | 8437592 |
PageSize | integer | No | The number of entries to return on each page. Default value: 10. | 10 |
CurrentPage | integer | No | The number of the page to return. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"InProcessCount": 0,
"EndTime": "2021-12-05 00:12:46",
"StartTime": "2021-12-05 00:12:16",
"Percent": "100%",
"RequestId": "01611D72-1E33-53F5-A9A5-C81B5561970F",
"FailCount": 94,
"Source": "Manual",
"SuccessCount": 81,
"FailedEcsList": [
{
"IP": "115.28.XX.XX",
"InternetIp": "115.28.XX.XX",
"IntranetIp": "172.31.XX.XX",
"Reason": "Detect timeout",
"InstanceName": "worker-k8s-for-cs-cf5741fb95c3a45d0864f0e4544dc****"
}
]
}
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.