Retrieves the check item configurations for cloud platform configuration checks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetCheckConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the China account in the resource folder for member accounts. Note
Invoke the DescribeMonitorAccounts operation to obtain this parameter. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
GetCheckConfigResponse |
||
| CycleDays |
array |
The periodic check schedule. |
|
|
integer |
The day of the week on which the periodic check runs. The value indicates the day of the week. |
[1, 2, 3, 4, 5] |
|
| StartTime |
integer |
The start time of the check period, indicating the hour of the day. Unit: hours (h). |
0 |
| EndTime |
integer |
The end time of the check period, indicating the hour of the day. The start time and end time must fall within one of the following time ranges:
|
6 |
| Standards |
array<object> |
The list of check item information. |
|
|
object |
The check item information. |
||
| Id |
integer |
The ID of the check item. |
1 |
| ShowName |
string |
The name of the check item. |
Cloud Product Configuration Management |
| Type |
string |
The type of the check item. Valid values:
|
RISK |
| Status |
string |
The enabling status of the check item. Valid values:
|
ON |
| 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. |
5A3D5C8F-2A42-5477-BDD8-27E64B5F1739 |
| EnableAutoCheck |
boolean |
Indicates whether automatic periodic checks are enabled. Valid values:
|
true |
| EnableAddCheck |
boolean |
Indicates whether new check items added to the selected standards are checked by default. Valid values:
|
false |
| SelectedChecks |
array<object> |
The check items selected in the policy. |
|
|
object |
|||
| CheckId |
integer |
The ID of the check item. |
3 |
| SectionId |
integer |
The section ID of the check item. |
69 |
Examples
Success response
JSON format
{
"CycleDays": [
0
],
"StartTime": 0,
"EndTime": 6,
"Standards": [
{
"Id": 1,
"ShowName": "云产品配置管理",
"Type": "RISK",
"Status": "ON"
}
],
"RequestId": "5A3D5C8F-2A42-5477-BDD8-27E64B5F1739",
"EnableAutoCheck": true,
"EnableAddCheck": false,
"SelectedChecks": [
{
"CheckId": 3,
"SectionId": 69
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.