All Products
Search
Document Center

Security Center:DescribeStrategyExecDetail

Last Updated:Nov 25, 2024

Queries the results of the last baseline check by using a specified baseline check policy.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeStrategyExecDetailget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

1.2.XX.XX
StrategyIdintegerYes

The ID of the baseline check policy.

Note You can call the DescribeStrategy operation to query the IDs of baseline check policies.
8437592
PageSizeintegerNo

The number of entries to return on each page. Default value: 10. If you leave this parameter empty, 10 entries are returned on each page.

Note We recommend that you do not leave this parameter empty.
10
CurrentPageintegerNo

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

1

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

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<object>

The servers on which risk items were detected.

FailedEcsobject

The server on which risk items were detected.

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.

Change history

Change timeSummary of changesOperation
2024-11-19The internal configuration of the API is changed, but the call is not affectedView Change Details