tencent cloud

APIs

DescribeVulComponentRelateHost

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

1. API Description

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

This API is used to query the associated server of a vulnerable component.

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

Vulnerability ID (vul_vuls.id)

Name Yes String

Component name.

MemberId.N No Array of String

Group account member id

Filters.N No Array of Filters

Filter conditions array, multi-condition with each other are AND relationship
Supported Filter.Name:
Keyword: keyword fuzzy search (fuzzy matching for host name/IP/InstanceID)

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

3. Output Parameters

Parameter Name Type Description
List Array of HostVulComponent

List of hosts affected by the component

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 Getting component of the host

Get component of the host

Input Example

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

{
    "VulID": 45230,
    "Name": "socat",
    "MemberId": [
        "mem-*******-6f5795752f66e429"
    ],
    "Limit": 10,
    "Offset": 0
}

Output Example

{
    "Response": {
        "List": [
            {
                "EffectVersion": "1.7.3.2-2.el7",
                "FixCommand": "sudo yum update socat\n",
                "HostInfo": {
                    "Account": {
                        "AppID": 260000006,
                        "Nick": "700002365149",
                        "Uin": "700002365149"
                    },
                    "AgentStatus": "ONLINE",
                    "CloudTag": [],
                    "InstanceID": "ins-f9mhqqxa",
                    "InstanceStatus": "RUNNING",
"Name": "yancyw self-built cluster"
                    "PrivateIP": "172.16.0.2",
                    "PublicIP": "",
                    "QUUID": "21fb6c0b-3d49-4529-bd32-7739ab4d9d7c",
                    "TagItem": [],
                    "UUID": "21fb6c0b-3d49-4529-bd32-7739ab4d9d7c"
                },
                "Name": "socat",
                "Path": "/usr/bin/socat",
                "ProcessID": ""
            }
        ],
        "TotalCount": 1,
        "RequestId": "655d8573-eadb-4ae6-8629-77dbf1da1006"
    }
}

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