Query Cluster Check Item Scan Results
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
Cluster ID. |
c3aaf6c8085f84791882eef200cd2**** |
| Statuses |
array |
No |
List of check item statuses. |
|
|
string |
No |
Status of the check item. Values:
|
PASS |
|
| RiskLevels |
array |
No |
List of risk levels. |
|
|
string |
No |
Risk level of the check item. Values:
|
high,medium |
|
| PageSize |
integer |
No |
Number of records to display per page when performing a paginated query. The default value is 20, indicating 20 records per page. |
20 |
| CurrentPage |
integer |
No |
Page number for the current page in a paginated query. The default value is 1. |
1 |
| Lang |
string |
Yes |
Language type for requests and responses. The default value is zh. Values:
|
zh |
| CheckKey |
string |
No |
Fuzzy search key for check items. |
container |
| SortType |
string |
No |
Custom sorting type. Values:
|
STATUS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Checks |
array<object> |
Information on check results. |
|
|
array<object> |
Information on check results. |
||
| CheckId |
integer |
ID of the check item. |
5 |
| CheckType |
string |
Source type of the security check item:
|
SYSTEM |
| CheckShowName |
string |
Name of the check item. |
OSS-PublicReadOpenManifestFileWithoutEncryption |
| CheckPolicies |
array<object> |
Information about the standards, requirements, and sections associated with the check result. |
|
|
object |
Information about the standards, requirements, and sections associated with the check result. |
||
| StandardId |
integer |
Standard ID of the check item. |
1 |
| StandardShowName |
string |
Display name of the standard for the check item. |
Best security practices |
| RequirementId |
integer |
Requirement ID of the check item. |
2 |
| RequirementShowName |
string |
Display name of the requirement for the check item. |
Alibaba cloud OSS best security practices |
| SectionId |
integer |
Section ID of the check item. |
3 |
| SectionShowName |
string |
Display name of the section for the check item. |
Log Audit |
| InstanceType |
string |
Asset type of the cloud product. |
Workload |
| InstanceSubType |
string |
Subtype of the cloud product asset. Values:
|
DISK |
| AssetType |
integer |
Asset type. |
0 |
| AssetSubType |
integer |
Subtype of the cloud product. |
0 |
| Status |
string |
Status of the check item. Values:
|
PASS |
| RiskLevel |
string |
Risk level of the check item. Possible values:
|
HIGH |
| LastCheckTime |
integer |
Timestamp of the latest check, in milliseconds. |
1657793398000 |
| Vendor |
string |
Vendor of the asset. Values: 0: Alibaba Cloud 3: Other cloud 4: Other cloud 5: Other cloud 7: Other cloud |
0 |
| TrialPermission |
boolean |
Whether the check depends on TRIAL permissions. |
true |
| TrialPermissionType |
integer |
Whether the check item requires enabling data delivery of operation audit for more than 30 days to build a behavior baseline.
|
1 |
| PageInfo |
object |
Pagination information. |
|
| CurrentPage |
integer |
Page number in the pagination query. |
1 |
| PageSize |
integer |
Number of items per page in the pagination query. The default value is 20, indicating that 20 items are displayed per page. |
20 |
| TotalCount |
integer |
The total number of data entries. |
83 |
| Count |
integer |
The number of data entries displayed on the current page during pagination. |
20 |
| RequestId |
string |
The ID of the current request. |
7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1 |
Examples
Success response
JSON format
{
"Checks": [
{
"CheckId": 5,
"CheckType": "SYSTEM",
"CheckShowName": "OSS-PublicReadOpenManifestFileWithoutEncryption",
"CheckPolicies": [
{
"StandardId": 1,
"StandardShowName": "Best security practices",
"RequirementId": 2,
"RequirementShowName": "Alibaba cloud OSS best security practices",
"SectionId": 3,
"SectionShowName": "Log Audit"
}
],
"InstanceType": "Workload",
"InstanceSubType": "DISK",
"AssetType": 0,
"AssetSubType": 0,
"Status": "PASS",
"RiskLevel": "HIGH",
"LastCheckTime": 1657793398000,
"Vendor": "0",
"TrialPermission": true,
"TrialPermissionType": 1
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 83,
"Count": 20
},
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 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.