tencent cloud

Feedback

DescribeSearchBugInfo

Last updated: 2024-07-22 10:38:28

    1. API Description

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

    This API is used to query information of a vulnerability.

    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: DescribeSearchBugInfo.
    Version Yes String Common Params. The value used for this API: 2022-11-21.
    Region No String Common Params. This parameter is not required.
    Id Yes String Type of the query action. 1: Query emergency vulnerabilities; 2: Query all vulnerabilities; 3: Query a specific vulnerability. When Id=3, CVEId is required.
    CVEId No String CVE number of the vulnerability. It's required when Id=3.

    3. Output Parameters

    Parameter Name Type Description
    Data DataSearchBug Vulnerability and asset information
    Note: This field may return·null, indicating that no valid values can be obtained.
    ReturnCode Integer Status code. Valid values: 0: successful; others: failed.
    ReturnMsg String Status message. Valid values: success: successful query; fail: failed query.
    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 Example

    Input Example

    {
      "Id": "xx",
      "CVEId": "xx"
    }
    

    Output Example

    {
        "Response": {
            "Data": {
                "StateCode": "xx",
                "DataBug": [
                    {
                        "Id": 1,
                        "PatchId": "xx",
                        "VULName": "xx",
                        "Level": "xx",
                        "CVSSScore": "xx",
                        "CVEId": "xx",
                        "Tag": "xx",
                        "VULCategory": 1,
                        "ImpactOs": "xx",
                        "ImpactCOMPENT": "xx",
                        "ImpactVersion": "xx",
                        "Reference": "xx",
                        "VULDescribe": "xx",
                        "Fix": "xx",
                        "ProSupport": 1,
                        "IsPublish": 1,
                        "ReleaseTime": "xx",
                        "CreateTime": "xx",
                        "UpdateTime": "xx",
                        "SubCategory": "xx"
                    }
                ],
                "DataAsset": [
                    {
                        "AppID": "xx",
                        "CVEId": "xx",
                        "IsScan": 0,
                        "InfluenceAsset": 0,
                        "NotRepairAsset": 0,
                        "NotProtectAsset": 0,
                        "TaskId": "xx",
                        "TaskPercent": 0,
                        "TaskTime": 0,
                        "ScanTime": "xx"
                    }
                ],
                "VSSScan": true,
                "CWPScan": "xx",
                "CFWPatch": "xx",
                "WafPatch": 0,
                "CWPFix": 0
            },
            "ReturnCode": 0,
            "ReturnMsg": "xx",
            "RequestId": "xx"
        }
    }
    

    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.