Domain name for API request: tcss.intl.tencentcloudapi.com.
This API is used to query all check items and return the total number and list of check items.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeCheckItemList. |
| Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
| Region | No | String | Common Params. This parameter is not required. |
| Offset | No | Integer | Offset |
| Limit | No | Integer | Maximum number of records per query |
| Filters.N | No | Array of ComplianceFilters | Name. Valid values: risk_level (risk level); risk_target (check target and risky target); risk_type (risk type); risk_attri (risk type of the check item). |
| Parameter Name | Type | Description |
|---|---|---|
| ClusterCheckItems | Array of ClusterCheckItem | Array of check item details |
| TotalCount | Integer | Total number of check items |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCheckItemList
<Common request parameters>
{
"Offset": 0,
"Limit": 10,
"Filters": []
}
{
"Response": {
"ClusterCheckItems": [
{
"AffectedType": "Workload",
"AffectedVersion": "ALL"
"CVENumber": "CVE-2021-26691",
"CVSS": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CVSSScore": "9.8",
"CheckItemId": 10280,
"DiscoverTime": "2023-08-11 11:18:23",
"IgnoredAssetNum": 0,
"IsIgnored": false,
"ItemDetail": "default ServiceAccount is forbidden to grant write/modify permissions"
"Name": "Forbid granting ServiceAccount default write/modify permissions"
"RelateLink": "https://",
"RiskAssessment": "assess***",
"RiskAttribute": "MaliciousTampering",
"RiskLevel": "High",
"RiskProperty": "instance-sfd***",
"RiskTarget": "RBAC",
"RiskType": "ConfigRisk",
"Solution": "Underwrite that the ServiceAccount named default is forbidden to grant write/modify permissions"
}
],
"RequestId": "3d286d4b-8df0-4247-af69-02b510fac784",
"TotalCount": 163
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| AuthFailure | A CAM signature/authentication error occurred. |
| FailedOperation | The operation failed. |
| InternalError | An internal error occurred. |
| InvalidParameter | The parameter is incorrect. |
| OperationDenied | The operation was denied. |
| RequestLimitExceeded | The number of requests exceeds the frequency limit. |
| UnauthorizedOperation | The operation is unauthorized. |
피드백