tencent cloud

APIs

DescribeHostKBRiskList

Download
Focus Mode
Font Size
Last updated: 2026-09-01 10:09:20

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

Search the host kb risk list.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribeHostKBRiskList.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
MemberId.N No Array of String

Group account member id

Filters.N No Array of Filters

Filter criteria array. Multiple conditions have an AND relationship with each other
Supported Filter.Name:
Keyword: fuzzy search by keyword (fuzzy matching on KB ID/name)
RiskStatus: remediation status
InstanceID: instance ID
NewestKB: latest patch (0/1)

Limit No Integer

Number of results per page
Value range: [1, 100]
Default value: 10

Offset No Integer

Paging offset
Value range: [0, +∞)
Default value: 0

Order No String

Sorting order
Enumeration values:
ASC: Ascending
DESC: Descending
Default value: DESC

By No String

Sorting field
Enumeration values:
LatestScanTime: latest scan time
Default value: LatestScanTime

3. Output Parameters

Parameter Name Type Description
List Array of HostKBRisk

Host KB patch risk list

TotalCount Integer

Total number of secrets

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.

4. Example

Example1 Get kb Risk Overview

Retrieve kb risk overview

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeHostKBRiskList
<Common request parameters>

{
    "MemberId": [
        "mem-*******-6f5795752f66e429"
    ],
    "Limit": 10,
    "Offset": 0,
    "Order": "desc",
    "By": "LatestScanTime"
}

Output Example

{
    "Response": {
        "List": [
            {
                "Account": [
                    {
                        "AppID": 260082268,
                        "Nick": "Member account",
                        "Uin": "700002332361"
                    }
                ],
                "EffectHostCount": 2,
                "KBDetail": {
                    "ID": 791,
                    "Name": "2026-04 Cumulative Update for Microsoft server operating system version 21H2, suitable for x64-based systems (KB5082142)",
                    "NeedRestart": true,
                    "Number": "KB5082142",
                    "PublishTime": "2026-04-01 00:00:00",
                    "ReferUrl": "https://support.microsoft.com/help/5082142",
                    "RelateVulCount": 115,
                    "RelateVulList": [
                        {
                            "CVEID": "CVE-2026-20930",
                            "CvssScore": 7.8,
                            "Label": [],
                            "Level": "HIGH",
                            "PublishTime": "2026-04-15 02:16:00",
                            "VulID": 121960,
                            "VulName": "Microsoft Windows race condition issue vulnerability (CVE-2026-20930)"
                        }
                    ]
                },
                "LatestScanTime": "2026-06-08T06:30:30Z",
                "RiskID": 791,
                "RiskStatus": "PENDING"
            }
        ],
        "TotalCount": 2,
        "RequestId": "126b1d8d-43e6-41eb-b742-937f2bbd0514"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback