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.
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 |
| Limit | No | Integer | Number of results per page |
| Offset | No | Integer | Paging offset |
| Order | No | String | Sorting order |
| By | No | String | Sorting field |
| 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. |
Search for the associated host of a vulnerability
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"
}
{
"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"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
피드백