All Products
Search
Document Center

Cloud Firewall:DescribeInternetOpenIp

Last Updated:Sep 02, 2024

Queries the IP addresses that are open to the Internet.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:DescribeInternetOpenIpget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the response. Valid values:

  • zh: Chinese (default)
  • en: English
zh
ServiceNamestringNo

The application.

SSH
RiskLevelstringNo

The risk level. If you leave this parameter empty, all risk levels are queried. Valid values:

  • 3: high risk
  • 2: medium risk
  • 1: low risk
  • 0: no risk
2
PortstringNo

The port number.

80
AssetsInstanceIdstringNo

The instance ID.

i-uf6faknmuby7ezht****
AssetsInstanceNamestringNo

The instance name.

launch-advisor-2023****
PublicIpstringNo

The public IP address of the instance.

203.0.113.1
RegionNostringNo

The region ID of the instance.

cn-shanghai
AssetsTypestringNo

The asset type of the instance.

EcsEIP
StartTimestringNo

The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.

1681957629
EndTimestringNo

The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.

1663640336
CurrentPagestringYes

The page number.

1
PageSizestringYes

The number of entries per page.

10

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

6B780BD6-282C-51A9-A8E6-59F636BAFA54
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

10
TotalCountinteger

The total number of entries returned.

40
DataListarray<object>

The data returned.

object
RiskLevelinteger

The risk level. Valid values:

  • 3: high risk
  • 2: medium risk
  • 1: low risk
  • 0: no risk
3
TrafficPercent1Daystring

The percentage of traffic of a day. Unit: percent (%).

11.1
AclRecommendDetailstring

The reason why recommended intelligent policies are unavailable. Valid values:

  • No recommended intelligent policies are available.
  • This feature is available only to some users.
  • The policy configuration has been modified. No recommended intelligent policies are available.
  • The recommended intelligent policies have been configured. No new recommended intelligent policies are available.
No recommended intelligent policies are available.
AssetsNamestring

The instance name.

launch-advisor-2023****
RegionNostring

The region ID of the instance.

cn-shenzhen
AssetsTypestring

The asset type of the instance.

EcsEIP
HasAclRecommendboolean

Specifies whether an access control policy is recommended. Valid values:

  • true
  • false
true
DetailNuminteger

The total number of ports.

5
TrafficPercent7Daystring

The percentage of traffic of seven days. Unit: percent (%).

77.7
TrafficPercent30Daystring

The percentage of traffic of 30 days. Unit: percent (%).

99.9
PublicIpstring

The public IP address of the instance.

203.0.113.1
RiskReasonstring

The reason for the risk.

Previous traffic is all malicious traffic.
AssetsInstanceIdstring

The instance ID.

i-bp1ix9w22kv6aew9****
PortListarray

The list of ports.

string

The ports.

["3000","5601","8886,"8887","8889"]
ServiceNameListarray

The list of applications.

string

The applications.

['HTTPS', 'RDP', 'SSL', 'Unknown']

Examples

Sample success responses

JSONformat

{
  "RequestId": "6B780BD6-282C-51A9-A8E6-59F636BAFA54",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 10,
    "TotalCount": 40
  },
  "DataList": [
    {
      "RiskLevel": 3,
      "TrafficPercent1Day": "11.1",
      "AclRecommendDetail": "No recommended intelligent policies are available.",
      "AssetsName": "launch-advisor-2023****",
      "RegionNo": "cn-shenzhen",
      "AssetsType": "EcsEIP",
      "HasAclRecommend": true,
      "DetailNum": 5,
      "TrafficPercent7Day": "77.7",
      "TrafficPercent30Day": "99.9",
      "PublicIp": "203.0.113.1",
      "RiskReason": "Previous traffic is all malicious traffic.",
      "AssetsInstanceId": "i-bp1ix9w22kv6aew9****",
      "PortList": [
        "[\"3000\",\"5601\",\"8886,\"8887\",\"8889\"]"
      ],
      "ServiceNameList": [
        "['HTTPS', 'RDP', 'SSL', 'Unknown']"
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history