Domain name for API request: cwp.intl.tencentcloudapi.com.
Obtain Baseline Detection Item Information
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: DescribeBaselineItemInfo. |
| Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
| Region | No | String | Common Params. This parameter is not required. |
| Filters.N | No | Array of Filter | |
| Limit | No | Integer | Limit Entries, 10 by default, up to 100 |
| Offset | No | Integer | Offset, which is 0 by default. |
| Order | No | String | Sorting Method: [ASC: Ascending Order, DESC: Descending Order] |
| By | No | String | Optional sorting columns |
| Parameter Name | Type | Description |
|---|---|---|
| List | Array of BaselineItemInfo | Result list |
| Total | Integer | Total Number of Entries |
| CategoryList | Array of BaselineItemsCategory | Baseline category list. |
| 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: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBaselineItemInfo
<Common request parameters>
{
"Limit": "1",
"Offset": "1"
}
{
"Response": {
"List": [
{
"ItemId": 1001,
"ItemName": "Kubelet unauthorized access",
"RuleId": 74,
"ItemDesc": "Kubelet does not restrict access sources and is not configured with any authentication, allowing attackers to execute arbitrary code in any Pod. This can also lead to Pod leakage, resulting in the leakage of sensitive information.",
"FixMethod": "1. Kubelet listens locally:\n--address=127.0.0.1\n\n2. The Kubelet server prohibits anonymous access:\n--anonymous-auth=false\n\nIf access to the port has been restricted through firewalls or other methods, please ignore this step.\n\n3. Configure certificates:\n--client-ca-file=path/to/ca\n--kubelet-client-certificate\n--kubelet-client-key"
"RuleName": "Kubelet unauthorized access"
"Level": 3,
"SysRuleId": 74,
"RelatedCustomRuleInfo": []
}
],
"RequestId": "90344239-519c-4f7f-8a71-1820d38e163c",
"Total": 2955
}
}
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 |
|---|---|
| InternalError | Internal error |
| InvalidParameter | Incorrect parameter. |
フィードバック