tencent cloud

APIs

DescribeVulFixableMachineList

Download
フォーカスモード
フォントサイズ
最終更新日: 2026-08-11 19:10:08

1. API Description

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

This API is used to query the host list where specified vulnerabilities can be repaired. Before a user submits a repair task, it is necessary to query which hosts support automatic fix, providing data support for users to select repair targets.

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

Vulnerability ID list, a maximum of 100

Offset No Integer

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

Limit No Integer

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

Filters.N No Array of Filters

Filtering Conditions
Supported Filter.Name:
Keyword - fuzzy matching, search by asset ID, asset name
ComponentName - fuzzy matching, search by associated component name
InstanceId - exact match, filter by host instance ID
MachineName - fuzzy matching, search by host name
MachineIp - fuzzy matching, search by host IP
OsType - exact match, filter by OS type: linux/windows
SupportAutoFix - exact match, filter by whether automatic fixing is supported: 0-unsupported 1-supported
Tag - exact match, filter by asset tag
AppId - exact match, filter by associated account

MemberId.N No Array of String Group Account Member ID

3. Output Parameters

Parameter Name Type Description
Data Array of VulFixableMachineItem

Repair host list

TotalCount Integer

Total quantity.

FixableCount Integer

Number of hosts that can be repaired with one click

NotFixableCount Integer

Number of hosts that cannot be one-click repaired

VulSummary Array of VulFixSummaryItem

Summary information of vulnerability dimension, showing overview of list of vulnerabilities to be fixed

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 Querying the list of repairable hosts

Input Example

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

{
    "VulIds": [
        10001,
        10002
    ],
    "Offset": 0,
    "Limit": 10
}

Output Example

{
    "Response": {
        "Data": [
            {
                "VulIds": [
                    10001
                ],
                "InstanceId": "ins-a1b2c3d4",
                "MachineName": "web-server-01",
                "MachineIp": "10.0.0.100",
                "PublicIp": "203.0.113.10",
                "OsType": "linux",
                "OsName": "CentOS 7.9",
                "MachineStatus": "ONLINE",
                "SupportAutoFix": 1,
                "FixStatus": 0,
                "LatestFixTime": "2025-06-25T15:00:00+08:00",
                "NotFixableReason": "",
                "FixCommands": [
                    "sudo yum update zlib-devel zlib"
                ],
                "Components": [
                    "zlib-devel",
                    "zlib"
                ],
                "TagItems": [],
                "AppId": 1251234567,
                "PayVersion": "ULTIMATE"
            }
        ],
        "TotalCount": 1,
        "FixableCount": 1,
        "NotFixableCount": 0,
        "VulSummary": [
            {
                "VulId": 10001,
"VulName": "OpenSSL remote code execution vulnerability"
                "CveId": "CVE-2024-12345",
                "AffectedCount": 1,
                "NeedReboot": false,
                "FixSwitch": true
            }
        ],
        "RequestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
}

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.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック