Checks cloud service configurations. 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.

Type String Yes check

The type of the check task. Valid values:

  • check
  • verify
SourceIp String No 1.2.3.4

The source IP address of the request.

Lang String No zh

The natural language of the request and response. Valid values:

  • zh: Chinese
  • en: English
ItemIds.N RepeatList No 1

The ID of the check item.

Note To perform a check task on cloud service configurations, you must specify the ID of the check item. You can call the DescribeRiskItemType operation to obtain the IDs of check items.

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.