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 |
No parameters required.
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 is performed. |
[1, 2, 3, 4, 5] |
|
| StartTime |
integer |
The start hour of the check time window, indicating the hour of the day when the check starts. |
0 |
| EndTime |
integer |
The end hour of the check time window, indicating the hour of the day when the check ends. The start time and end time must be 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. |
云产品配置管理 |
| 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 this request. You can use it 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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.