DescribeInternetOpenService
Queries Internet-facing open services.
Operation description
QPS limits
The QPS limit for a single user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeInternetOpenService |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The originating IP address of the requester. |
122.200.64.XXX |
| Lang |
string |
No |
The language type. Valid values:
|
zh |
| ServiceName |
string |
No |
The application name for exact match. If you do not specify this parameter, all applications are queried. |
SMB |
| ServiceNameFuzzy |
string |
No |
The application name for fuzzy match. If you do not specify this parameter, all applications are queried. |
SMB |
| RiskLevel |
string |
No |
The risk level. Valid values:
|
2 |
| SuggestLevel |
string |
No |
The recommended policy level. Valid values:
|
10 |
| Port |
string |
No |
The port number. |
3389 |
| StartTime |
string |
No |
The start time of the query. The value is a UNIX timestamp in seconds. |
1755742107 |
| EndTime |
string |
No |
The end time of the query. The value is a UNIX timestamp in seconds. |
1753804800 |
| CurrentPage |
string |
No |
The page number. |
1 |
| PageSize |
string |
No |
The number of entries per page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
99A65AA0-C5B5-5092-BFCF-8111B436**** |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The score. |
20 |
| TotalCount |
integer |
The total number of entries. |
10 |
| DataList |
array<object> |
The data list. |
|
|
object |
The data list. |
||
| RiskLevel |
integer |
The risk level. Valid values: -1: Evaluating. 0: None. 1: Low. 2: Medium. 3: High. If you do not specify this parameter, all risk levels are queried. Valid values:
|
3 |
| ProbRiskDesc |
string |
The description of the security risk. |
test |
| TrafficPercent1Day |
string |
The traffic proportion in the last 1 day. |
0 |
| Protocol |
string |
The protocol type. Valid values:
|
tcp |
| PublicIpNum |
integer |
The number of open public IP addresses. |
3 |
| SuggestLevel |
integer |
The recommended policy level. Valid values:
|
20 |
| DetailNum |
integer |
The number of details. |
5 |
| TrafficPercent7Day |
string |
The traffic proportion in the last 7 days. |
77 |
| TrafficPercent30Day |
string |
The traffic proportion in the last 30 days. |
0 |
| ProbRisk |
string |
The security risk. |
test |
| ServiceName |
integer |
The application name. |
SMB |
| RiskReason |
string |
The risk description. |
test |
| PortList |
array |
The list of open ports. |
|
|
string |
The list of open ports. |
[ 80, 8080, 80, 21 ] |
|
| InBytes |
integer |
The inbound traffic. |
447458 |
| OutBytes |
integer |
The outbound traffic. |
1123 |
| TotalBytes |
integer |
The total traffic. |
621404 |
| UnknownReason |
array |
The reason why the protocol is not identified when the protocol is recognized as Unknown. |
|
|
string |
The reason why the protocol is not identified when the protocol is recognized as Unknown. |
no_payload |
Examples
Success response
JSON format
{
"RequestId": "99A65AA0-C5B5-5092-BFCF-8111B436****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 10
},
"DataList": [
{
"RiskLevel": 3,
"ProbRiskDesc": "test",
"TrafficPercent1Day": "0",
"Protocol": "tcp",
"PublicIpNum": 3,
"SuggestLevel": 20,
"DetailNum": 5,
"TrafficPercent7Day": "77",
"TrafficPercent30Day": " 0",
"ProbRisk": "test",
"ServiceName": 0,
"RiskReason": "test",
"PortList": [
"[\n 80,\n 8080,\n 80,\n 21\n]"
],
"InBytes": 447458,
"OutBytes": 1123,
"TotalBytes": 621404,
"UnknownReason": [
"no_payload"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | ErrorMarshalJSON | internal error. | Internal error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.