All Products
Search
Document Center

Security Center:ChangeCheckConfig

Last Updated:Sep 15, 2026

Modifies the configuration items for cloud platform configuration checks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sas:ChangeCheckConfig

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region of the Security Center instance. Valid values:

  • cn-hangzhou: China

  • ap-southeast-1: Singapore

cn-hangzhou

CycleDays

array

No

The periodic check schedule.

integer

No

The day of the week on which the periodic check runs. Valid values: 1, 2, 3, 4, 5, 6, and 7.

3

StartTime

integer

No

The start hour of the check time window, indicating the hour of the day. The start time and end time must fall within one of the following time ranges. Valid values: 0, 6, 12, and 18.

  • 0~6: If the start time is 0, the end time must be set to 6 on the same day.

  • 6~12: If the start time is 6, the end time must be set to 12 on the same day.

  • 12~18: If the start time is 12, the end time must be set to 18 on the same day.

  • 18~24: If the start time is 18, the end time must be set to 24 on the same day.

0

EndTime

integer

No

The end hour of the check time window, indicating the hour of the day. The start time and end time must fall within one of the following time ranges. Valid values: 6, 12, 18, and 24.

  • 0~6: If the start time is 0, the end time must be set to 6 on the same day.

  • 6~12: If the start time is 6, the end time must be set to 12 on the same day.

  • 12~18: If the start time is 12, the end time must be set to 18 on the same day.

  • 18~24: If the start time is 18, the end time must be set to 24 on the same day.

6

StandardIds

array

No

This parameter is deprecated and does not need to be specified.

integer

No

This parameter is deprecated and does not need to be specified.

2

ConfigRequirementIds

object

No

Configures the check policy by specifying requirement IDs.

Note

Call the ListCheckResult operation to obtain requirement IDs. If the ConfigStandardIds parameter is specified, this parameter does not take effect.

AddIds

array

No

The list of requirement IDs to add to the policy.

integer

No

The requirement ID to add to the policy.

6

RemoveIds

array

No

The list of requirement IDs to remove from the policy.

integer

No

The requirement ID to remove from the policy.

5

ConfigStandardIds

object

No

Configures the check policy by specifying standard IDs.

Note

Call the ListCheckResult operation to obtain standard IDs.

AddIds

array

No

The list of standard IDs to add to the policy.

integer

No

The standard ID to add to the policy.

2

RemoveIds

array

No

The list of standard IDs to remove from the policy.

integer

No

The standard ID to remove from the policy.

5

EnableAutoCheck

boolean

No

Specifies whether to enable automatic periodic checks. Valid values:

  • true: Enabled.

  • false: Disabled.

true

EnableAddCheck

boolean

No

Specifies whether to automatically check newly added check items in the selected requirements. Valid values:

  • true: Enabled.

  • false: Disabled.

false

AddedCheck

array<object>

No

The list of check items to add to the policy.

Important If the ConfigStandardIds or ConfigRequirementIds parameter is specified, this parameter does not take effect.

object

No

The check item to add to the policy.

CheckId

integer

No

The ID of the check item.

Note

Call the ListCheckResult operation to obtain check item IDs.

5

SectionId

integer

No

The section ID of the check item.

69

RemovedCheck

array<object>

No

The list of check items to remove from the policy.

Important If the ConfigStandardIds or ConfigRequirementIds parameter is specified, this parameter does not take effect.

object

No

The check item to remove from the policy.

CheckId

integer

No

The ID of the check item.

Note

Call the ListCheckResult operation to obtain check item IDs.

19

SectionId

integer

No

The section ID of the check item.

69

Vendors

array

No

The list of cloud service providers.

string

No

The cloud service provider. Valid values:

  • ALIYUN: Alibaba Cloud

  • TENCENT: Tencent Cloud

  • AWS: AWS

ALIYUN

Configure

string

No

The field configuration. Valid values:

  • all: adds all check items.

all

SystemConfig

boolean

No

Specifies whether to use the system-generated configuration. Valid values:

  • true: Yes.

  • false: No.

true

ClientToken

string

No

The client token that is used to ensure the idempotence of the request. Use a different token for each request. Only ASCII characters are supported. The token can be up to 64 characters in length.

ResourceDirectoryAccountId

integer

No

The ID of the member account in the resource directory (Alibaba Cloud account).

Note

Call the DescribeMonitorAccounts operation to obtain this parameter.

1232428423234****

No

Specifies whether to perform only a dry run, without performing the actual request. Valid values: true: performs only a dry run without performing the actual operation. false: performs the actual request. Default value: false.

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.

6EBB8614-746D-555D-AB69-C801AEC7DCE0

Examples

Success response

JSON format

{
  "RequestId": "6EBB8614-746D-555D-AB69-C801AEC7DCE0"
}

Error codes

HTTP status code

Error code

Error message

Description

400 NoPurchase The user did not purchase this product. User has not purchased this product
400 IllegalParam Illegal param
400 RdCheckNoPermission Resource directory account verification has no permission.
400 IdempotentParameterMismatch 相同的 ClientToken 被用于不同的请求参数。
500 ServerError ServerError
500 RdCheckInnerError Resource directory account service internal error.
403 NoPermission caller has no permission You are not authorized to do this operation.
409 IdempotentRequestInProgress 使用相同 ClientToken 的请求正在处理中。

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.