Modifies the configuration items for cloud platform configuration checks.
Try it now
Test
RAM authorization
|
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 |
| 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 |
| 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.
|
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 |
| EnableAddCheck |
boolean |
No |
Specifies whether to automatically check newly added check items in the selected requirements. Valid values:
|
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 |
|
| Configure |
string |
No |
The field configuration. Valid values:
|
all |
| SystemConfig |
boolean |
No |
Specifies whether to use the system-generated configuration. Valid values:
|
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.