Modifies the check 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 daily check time window. The start time and end time must fall within one of the following intervals. Valid values: 0, 6, 12, and 18.
|
0 |
| EndTime |
integer |
No |
The end hour of the daily check time window. The start time and end time must fall within one of the following intervals. 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 check newly added check items in the selected requirements by default. 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 |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the member account in the resource folder (Alibaba Cloud account). Note
Call the DescribeMonitorAccounts operation to obtain this parameter. |
1232428423234**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request 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. | |
| 400 | IllegalParam | Illegal param | |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.