Domain name for API request: cwp.intl.tencentcloudapi.com.
Query the TOP 5 baseline detection 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: DescribeBaselineItemRiskTop. |
| Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
| Region | No | String | Common Params. This parameter is not required. |
| PolicyId | No | Integer | Policy ID |
| Parameter Name | Type | Description |
|---|---|---|
| RiskItemTop5 | Array of BaselineRiskItem | Result array |
| 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: DescribeBaselineItemRiskTop
<Common request parameters>
{}
{
"Response": {
"RequestId": "718b3dda-c0a7-409c-84bd-712411880bbe",
"RiskItemTop5": [
{
"ItemId": 1505,
"ItemName": "Maximum validity days policy of the account after Linux password expires",
"Level": 2,
"HostCount": 31
},
{
"ItemId": 1509,
"ItemName": "Restrict remote log-in of users with root permission.",
"Level": 2,
"HostCount": 31
},
{
"ItemId": 1500,
"ItemName": "SSH listens on the default port"
"Level": 1,
"HostCount": 31
},
{
"ItemId": 5275,
"ItemName": "Check whether root user login over SSH is disabled"
"Level": 3,
"HostCount": 22
},
{
"ItemId": 5273,
"ItemName": "Check account timeout auto-logout settings",
"Level": 2,
"HostCount": 22
}
]
}
}
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 |
|---|---|
| FailedOperation | Operation failed. |
| InternalError | Internal error |
| InvalidParameter | Incorrect parameter. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan