Queries the types of baseline check items that match the specified conditions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListCheckTypes |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RiskId |
integer |
No |
The ID of the baseline. Note
You can call the DescribeCheckWarningSummary operation to query the IDs of baselines. |
34 |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
en |
| CurrentPage |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20. Note
We recommend that you do not leave this parameter empty. |
20 |
| Uuid |
string |
No |
The UUID of the server. Note
You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers. |
293b07cb-db2d-4f39-941f-b2e4abb8**** |
| ShowChecks |
boolean |
No |
Specifies whether to query the check item list. Default value: false. Valid values:
|
true |
| Source |
string |
No |
The data source. Default value: default. Valid values:
|
agentless |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Data |
array<object> |
The data returned. |
|
|
array<object> |
The data returned. |
||
| CheckType |
string |
The type of the check item. |
data_integrity |
| CheckTypeDisName |
string |
The display name of the check item type. |
Data Integrity |
| CheckDetails |
array<object> |
The details of the check items. |
|
|
object |
The details of the check items. |
||
| CheckId |
integer |
The ID of the check item. |
31 |
| CheckItem |
string |
The description of the check item. |
Configure the idle session timeout period. |
| AffiliatedRiskTypes |
array |
The affiliated baseline categories. |
|
|
string |
The affiliated baseline category. |
Best security practices |
|
| AffiliatedRisks |
array |
The affiliated baselines. |
|
|
string |
The affiliated baseline. |
Alibaba Cloud Standard - Windows 2012 R2 Security Baseline |
|
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Count |
integer |
The total number of entries returned. |
10 |
| Code |
string |
The response code. |
200 |
| Message |
string |
The returned message. |
successful |
| RequestId |
string |
The request ID. |
D65AADFC-1D20-5A6A-8F6A-9FA53C0D**** |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Data": [
{
"CheckType": "data_integrity",
"CheckTypeDisName": "Data Integrity",
"CheckDetails": [
{
"CheckId": 31,
"CheckItem": "Configure the idle session timeout period.",
"AffiliatedRiskTypes": [
"Best security practices"
],
"AffiliatedRisks": [
"Alibaba Cloud Standard - Windows 2012 R2 Security Baseline"
]
}
]
}
],
"Success": true,
"Count": 10,
"Code": "200",
"Message": "successful",
"RequestId": "D65AADFC-1D20-5A6A-8F6A-9FA53C0D****",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 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.