Domain name for API request: csip.intl.tencentcloudapi.com.
Obtain Port Risk List from Asset's Perspective
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: DescribeRiskCenterAssetViewPortRiskList. |
| 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 | Filtered Content |
| Tags.N | No | Array of AssetTag | Asset tag |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total quantity. |
| Data | Array of AssetViewPortRisk | Configuration Risk List from Asset's Perspective |
| StatusLists | Array of FilterDataObject | Status list |
| LevelLists | Array of FilterDataObject | Danger Level List |
| SuggestionLists | Array of FilterDataObject | Recommendation List |
| InstanceTypeLists | Array of FilterDataObject | Asset Type List |
| FromLists | Array of FilterDataObject | Source List |
| 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 Asset's Perspective
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRiskCenterAssetViewPortRiskList
<Common request parameters>
{
"Filter": {
"Limit": 1
}
}
{
"Response": {
"Data": [
{
"AffectAsset": "1.1.1.1",
"AppId": "23445189",
"Component": "OpenSSH",
"FirstTime": "2024-04-19 16:14:02",
"From": "CSC",
"Id": "b6d76******",
"Index": "1654******",
"InstanceId": "ins-*****",
"InstanceName": "cvm1",
"InstanceType": "CVM",
"Level": "middle",
"Nick": "nickname",
"Port": 22,
"Protocol": "tcp",
"RecentTime": "2024-06-07 14:22:58",
"Service": "ssh",
"Status": 3,
"Suggestion": 1,
"Uin": "22446133890"
}
],
"FromLists": [
{
"Text": "CSC",
"Value": "0"
},
{
"Text": "Traffic awareness"
"Value": "3"
}
],
"InstanceTypeLists": [
{
"Text": "CLB",
"Value": "CLB"
},
{
"Text": "CVM",
"Value": "CVM"
},
{
"Text": "EIP",
"Value": "EIP"
},
{
"Text": "VPN",
"Value": "VPN"
},
{
"Text": "NAT",
"Value": "NAT"
},
{
"Text": "OTHER",
"Value": "OTHER"
},
{
"Text": "LH",
"Value": "LH"
},
{
"Text": "HAVIP",
"Value": "HAVIP"
},
{
"Text": "NATFW",
"Value": "NATFW"
},
{
"Text": "Unknown",
"Value": "unknown"
},
{
"Text": "PROBE",
"Value": "PROBE"
},
{
"Text": "TSE",
"Value": "TSE"
},
{
"Text": "EC2",
"Value": "EC2"
}
],
"LevelLists": [
{
Severe
"Value": "extreme"
},
{
High-risk
"Value": "high"
},
{
"Text": "Medium risk",
"Value": "middle"
},
{
"Text": "Low",
"Value": "low"
},
{
"Text": "Prompt"
"Value": "info"
}
],
"RequestId": "c95a495b-e2cb-4449-b101-1848c421aadd",
"StatusLists": [
{
Banned
"Value": "3"
},
{
"Text": "Unprocessed",
"Value": "0"
},
{
"Text": "Tag processed",
"Value": "1"
},
{
"Ignored"
"Value": "2"
}
],
"SuggestionLists": [
{
"Text": "Maintain the current status"
"Value": "0"
},
{
Restrict access
"Value": "1"
},
{
Block port
"Value": "2"
}
],
"TotalCount": 42
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| DryRunOperation | DryRun operation means the request will be successful, but the DryRun parameter is passed. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidFilter | Invalid Filter |
| InvalidParameter | Parameter error. |
| InvalidParameter.DecryptError | Decrypt error |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing. |
| OperationDenied | Operation denied. |
| RegionError | Region error. |
| RequestLimitExceeded | Number of requests exceeds the frequency limit. |
| ResourceInUse | The resource is occupied. |
| ResourceInsufficient | Insufficient resources. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| ResourcesSoldOut | Resources are sold out. |
| UnauthorizedOperation | Unauthorized operation. |
| UnauthorizedOperation.CloudAudit | Unauthorized operation on the "Operation Audit" product. |
| UnauthorizedOperation.Cos | Unauthorized operation on the "COS" product. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | The operation is not supported. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan