You can call this operation to verify multiple risky items of baseline check simultaneously. The verification operation verifies whether risky items of baseline check have been fixed. If a risky item is verified, the risky item status is updated to Passed.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ValidateHcWarnings |
The operation that you want to perform. Set the value to ValidateHcWarnings . |
RiskIds | String | Yes | 43 |
The ID list of risky items that need to be verified. If the list has multiple risky item IDs, separate them with commas (,). |
Uuids | String | Yes | 78645c8e-2e89-441b-8eb,a9622a6b-adb5-4dd3-929e,0136460a-1cb5-44e8-**** |
The UUID list of servers that contain risky items to be verified. |
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 722C4F88-7867-4E7B-8ADE-7451053 |
The unique ID generated by Alibaba Cloud for the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ValidateHcWarnings
&RiskIds=43
&Uuids=78645c8e-2e89-441b-8eb,a9622a6b-adb5-4dd3-929e,0136460a-1cb5-44e8-****
&<Common request parameters>
Sample success responses
XML
format
<ValidateHcWarningsResponse>
<RequestId>722C4F88-7867-4E7B-8ADE-7451053</RequestId>
</ValidateHcWarningsResponse>
JSON
format
{
"RequestId":"722C4F88-7867-4E7B-8ADE-7451053"
}
Error code
For a list of error codes, visit the API Error Center.