Verifies whether multiple baseline risks that are detected in baseline checks are fixed at a time. This operation verifies whether baseline risks are fixed. If a baseline risk is fixed, the status of the related check item is updated to Passed.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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 IDs of baseline risks that need to be verified. Separate multiple IDs with commas (,).

Uuids String Yes 78645c8e-2e89-441b-8eb,a9622a6b-adb5-4dd3-929e,0136460a-1cb5-44e8-****

The UUIDs of servers on which you want to verify baseline risks.

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 ID of 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 codes

For a list of error codes, visit the API Error Center.