All Products
Search
Document Center

Security Center:DescribeStrategyExecDetail

Last Updated:Apr 28, 2023

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

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

1.2.XX.XX
StrategyIdintegerYes

The ID of the baseline check policy.

8437592
PageSizeintegerNo

The number of entries to return on each page. Default value: 10.

10
CurrentPageintegerNo

The number of the page to return. Default value: 1.

1

Response parameters

ParameterTypeDescriptionExample
object
InProcessCountinteger

The number of tasks that are running based on the baseline check policy.

0
EndTimestring

The time when the baseline check ends.

2021-12-05 00:12:46
StartTimestring

The time when the baseline check starts.

2021-12-05 00:12:16
Percentstring

The execution progress of the baseline check policy.

100%
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

01611D72-1E33-53F5-A9A5-C81B5561970F
FailCountinteger

The number of check items that failed to pass the baseline check. This type of check item is considered risk items.

94
Sourcestring

The type of the baseline check. Valid values:

  • Schedule: automatic check that periodically runs
  • Manual: intermediate check that is manually performed
Manual
SuccessCountinteger

The number of check items that passed the baseline check.

81
FailedEcsListarray

An array consisting of the servers on which risk items were detected.

object
IPstring

The IP address of the server on which the baseline check was performed.

115.28.XX.XX
InternetIpstring

The public IP address.

115.28.XX.XX
IntranetIpstring

The private IP address.

172.31.XX.XX
Reasonstring

The failure cause for the check item.

Detect timeout
InstanceNamestring

The name of the instance.

worker-k8s-for-cs-cf5741fb95c3a45d0864f0e4544dc****

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.