Queries the information about the assets to which a baseline check policy is applied.
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.X.X |
Type | string | Yes | The type of the policy. Set the value to hc_strategy, which indicates baseline check policies. | hc_strategy |
Config | string | Yes | The ID of the baseline check policy. | {"strategyId":8167126} |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "001BAB34-D70A-54B0-B1D7-91B76DCDD8E8",
"StrategyTargets": [
{
"BindUuidCount": 85,
"Flag": "add",
"Target": "9165712",
"TargetType": "groupId"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ConsoleError | The error message is %s %s. | - |
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.