Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to query the list of port risks by ports.
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: DescribeRiskCenterPortViewPortRiskList. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| MemberId.N | No | Array of String | Group Account Member ID |
| Filter | No | Filter | Filter conditions |
| Tags.N | No | Array of AssetTag | Asset tags |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total number of entries |
| Data | Array of PortViewPortRisk | Port Risk List from Port's Perspective |
| LevelLists | Array of FilterDataObject | List of risk levels |
| SuggestionLists | Array of FilterDataObject | List of suggestions |
| FromLists | Array of FilterDataObject | List of check source |
| 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. |
Obtain Port Risk List from Port's Perspective
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRiskCenterPortViewPortRiskList
<Common request parameters>
{
"MemberId": [
"mem-68b8087a65268000",
"mem-tencent-522badef8ad96a4d"
],
"Filter": {
"Limit": 1,
"Offset": 0
}
}
{
"Response": {
"Data": [
{
"AffectAssetCount": "2",
"AppId": "188651",
"Component": "web",
"FirstTime": "2024-07-07 12:05:29",
"From": "Cloud Security Center"
"Id": "13f3cf8c53147c4183e6910",
"Index": "13f3cf8c847c4183e6910",
"Level": "middle",
"Nick": "Cake"
"NoHandleCount": 1,
"Port": 443,
"Protocol": "tcp",
"RecentTime": "2024-08-13 11:21:02",
"Service": "https,unknown",
"Suggestion": 1,
"Uin": "10088646"
}
],
"FromLists": [
{
"Text": "CSC",
"Value": "0"
},
{
Traffic awareness
"Value": "3"
}
],
"LevelLists": [
{
severe
"Value": "extreme"
},
{
High-risk
"Value": "high"
},
{
Medium risk
"Value": "middle"
},
{
"Text": "Low risk"
"Value": "low"
},
{
"Text": "Prompt"
"Value": "info"
}
],
"RequestId": "13ed0f9d-5052-431d-b789-75bdf1e390bc",
"SuggestionLists": [
{
maintain the current status
"Value": "0"
},
{
Restrict access
"Value": "1"
},
{
Block port
"Value": "2"
}
],
"TotalCount": 3
}
}
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.
피드백