You can call this operation to perform a baseline check.

You can check all items or a specific item, and you can verify whether an item is already checked.

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 StartBaselineSecurityCheck

The operation that you want to perform.

Set the value to StartBaselineSecurityCheck.

SourceIp String No 1.1.1.1

The source IP address of the request.

Lang String No cn

The language of the request and response. Chinese and English are supported.

ItemIds.N RepeatList No 1

The ID of the check item.

Assets.N RepeatList No 1

The asset ID.

Type String No check

The type of the check task.

Response parameters

Parameter Type Example Description
RequestId String 48D2E9A9-A1B0-4295-B727-0995757C47E9

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=StartBaselineSecurityCheck
&Type=check
&<Common request parameters>

Sample success responses

XML format

<StartBaselineSecurityCheckResponse>
	  <RequestId>48D2E9A9-A1B0-4295-B727-0995757C47E9</RequestId>
</StartBaselineSecurityCheckResponse>

JSON format

{
	"RequestId":"48D2E9A9-A1B0-4295-B727-0995757C47E9"
}

Error codes

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