tencent cloud

Cloud Security Center

DescribeVulRiskRelateHost

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-08-11 19:10:26

1. API Description

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

Search for hosts associated with vulnerabilities or KBs

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: DescribeVulRiskRelateHost.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
KBID Yes Integer

p>KB patch internal ID (kb_info.id)

VulID Yes Integer

Vulnerability ID (vul_vuls.id)

MemberId.N No Array of String

Group account member id

Filters.N No Array of Filters

Filter conditions array. Multi-condition with each other is AND relationship
Supported Filter.Name:
Keyword: Keyword fuzzy search (fuzzy matching for host name/IP/InstanceID)
CloudTag: Cloud tag
Tag: Security center tag

Limit No Integer

Number of results per page
Value ranges from 1 to 100
Default value: 10

Offset No Integer

Paging offset
Value ranges from 0 to +∞
Default value: 0

Order No String

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

By No String

Sorting field
Enumeration value:
LatestScanTime: Latest scan time
VPRLevel: VPR rating
RiskStatus: Remediation status
Default value: LatestScanTime

3. Output Parameters

Parameter Name Type Description
List Array of VulHostBriefInfo

List of affected hosts for the vulnerability

TotalCount Integer

Total number of qualified instances

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 Searching for the vulnerability-associated host

Search for the associated host of a vulnerability

Input Example

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

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

Output Example

{
    "Response": {
        "List": [
            {
                "Account": {
                    "AppID": 260083796,
                    "Nick": "700002365149",
                    "Uin": "700002365149"
                },
                "AgentStatus": "ONLINE",
                "CloudTag": [],
                "DefendStatus": "NOT_ENABLED",
                "DefendVersion": "BASIC",
                "InstanceID": "ins-f9mhqqxa",
                "InstanceStatus": "RUNNING",
"Name": "yancyw self-built cluster"
                "PrivateIP": "172.16.0.2",
                "PublicIP": "",
                "RiskStatus": "PENDING",
                "TagItem": [],
                "VPRRating": {
                    "Remark": "",
                    "Result": "",
                    "Stage": []
                }
            }
        ],
        "TotalCount": 1,
        "RequestId": "c5752296-cc49-4e64-bba5-62c19174239c"
    }
}

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.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan