Queries the details of the latest baseline check result that is generated based on a baseline check policy. The details include the last time when the check was performed, the number of detected risk items, and the baseline risk details.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeStrategyExecDetail |
The operation that you want to perform. Set the value to DescribeStrategyExecDetail. |
SourceIp | String | No | 1.2.XX.XX |
The source IP address of the request. |
StrategyId | Integer | Yes | 8437592 |
The ID of the baseline check policy. Note To query the baseline check result that is generated based on a baseline check policy,
you must provide the ID of the policy. You can call the DescribeStratety operation to query the IDs of baseline check policies.
|
PageSize | Integer | No | 10 |
The number of entries to return on each page. Default value: 10. |
CurrentPage | Integer | No | 1 |
The number of the page to return. Default value: 1. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
InProcessCount | Integer | 0 |
The number of baseline check tasks that are running. |
EndTime | String | 2021-12-05 00:12:46 |
The time when the baseline check ends. |
StartTime | String | 2021-12-05 00:12:16 |
The time when the baseline check starts. |
Percent | String | 100% |
The execution progress of the baseline check policy. |
RequestId | String | 01611D72-1E33-53F5-A9A5-C81B5561970F |
The ID of the request, which is used to locate and troubleshoot issues. |
FailCount | Integer | 94 |
The number of check items that failed the baseline check. |
Source | String | Manual |
The type of the baseline check. Valid values:
|
SuccessCount | Integer | 81 |
The number of check items that passed the baseline check. |
FailedEcsList | Array of FailedEcs |
The servers on which risk items were detected. |
|
IP | String | 115.28.XX.XX |
The IP address of the server on which the baseline check was performed. |
InternetIp | String | 115.28.XX.XX |
The public IP address. |
IntranetIp | String | 172.31.XX.XX |
The private IP address. |
Reason | String | Detect timeout |
The cause of the baseline check failure. |
InstanceName | String | worker-k8s-for-cs-cf5741fb95c3a45d0864f0e4544dc**** |
The name of the instance. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeStrategyExecDetail
&SourceIp=1.2.XX.XX
&StrategyId=8437592
&PageSize=10
&CurrentPage=1
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeStrategyExecDetailResponse>
<InProcessCount>0</InProcessCount>
<EndTime>2021-12-05 00:12:46</EndTime>
<StartTime>2021-12-05 00:12:16</StartTime>
<Percent>100%</Percent>
<RequestId>01611D72-1E33-53F5-A9A5-C81B5561970F</RequestId>
<FailCount>94</FailCount>
<Source>Manual</Source>
<SuccessCount>81</SuccessCount>
<FailedEcsList>
<IP>115.28.XX.XX</IP>
<InternetIp>115.28.XX.XX</InternetIp>
<IntranetIp>172.31.XX.XX</IntranetIp>
<Reason>Detect timeout</Reason>
<InstanceName>worker-k8s-for-cs-cf5741fb95c3a45d0864f0e4544dc****</InstanceName>
</FailedEcsList>
</DescribeStrategyExecDetailResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"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 |
---|---|---|---|
500 | ServerError | ServerError | The error message returned because a server error occurred. |
For a list of error codes, visit the API Error Center.