查询暴露在互联网中的网关资产、端口、系统组件或公网IP列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:DescribeExposedStatisticsDetail |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageSize |
integer |
否 |
指定分页查询时,每页显示的数据最大条数。每页默认显示的数据条数为 20 条,PageSize 参数值为空时,将默认返回 20 条数据。 说明
建议 PageSize 取值不要为空。 |
20 |
| CurrentPage |
integer |
否 |
指定分页查询时,当前页的页码。 |
1 |
| StatisticsType |
string |
是 |
指定要查看的统计值类型。取值:
|
exposureType |
| StatisticsTypeInstanceValue |
string |
否 |
StatisticsType 为 exposureType 时,指定要查询的网关实例 ID。 |
lb-2ze4rso39h4nczcqs**** |
| StatisticsTypeGatewayType |
string |
否 |
StatisticsType 为 exposureType 时,指定要查询的网关资产类型。取值:
|
SLB |
| ResourceDirectoryAccountId |
integer |
否 |
资源目录成员账号主账号 ID。 说明
调用 DescribeMonitorAccounts 接口可以获取该参数。 |
1232428423234**** |
| Uuid |
string |
否 |
指定查询的主机的 UUID。 |
c9107c04-942f-40c1-981a-f1c1*** |
| Criteria |
string |
否 |
查询条件。 |
{} |
| InstanceId |
string |
否 |
指定要查询的资产实例 ID。 |
s-bp1g6wxdwps7s9dz**** |
| ExposureIp |
string |
否 |
指定要查询的资产对外暴露的公网 IP。 |
116.12.XX.XX |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
响应体。 |
||
| RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1 |
| PageInfo |
object |
分页信息。 |
|
| CurrentPage |
integer |
分页查询时,当前页的页码。 |
1 |
| PageSize |
integer |
分页查询时,每页最多显示的数据条数。 |
20 |
| TotalCount |
integer |
查询到的数据总条数。 |
2 |
| Count |
integer |
分页查询时,当前页显示的数据条数。 |
2 |
| StatisticsDetails |
array<object> |
返回的网关资产、暴露端口、暴露组件或公网 IP 列表。 |
|
|
object |
统计信息详情。 |
||
| ExposureIp |
string |
暴露在互联网中的公网 IP。 |
123.57.XX.XX |
| ExposurePort |
string |
暴露在互联网中的端口。 |
22 |
| ExposureTypeInstanceName |
string |
暴露在互联网中的网关资产名称。 |
ngw-bp1vkbju8f3w87c9v**** |
| ExposedCount |
integer |
暴露在互联网上的您服务器的系统漏洞数量。 |
0 |
| ExposureType |
string |
暴露方式。取值:
|
SLB |
| RegionId |
string |
资产所在的地域的 ID。 |
cn-hangzhou |
| ExposureComponent |
string |
暴露在互联网中的系统组件。 |
tomcat |
| ExposureTypeId |
string |
暴露方式对应的实例 ID。不同暴露方式对应不同的实例 ID,取值:
|
lb-2ze4rso39h4nczcqs**** |
| ForwardPort |
string |
转发端口。 |
80 |
示例
正常返回示例
JSON格式
{
"RequestId": "7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 2,
"Count": 2
},
"StatisticsDetails": [
{
"ExposureIp": "123.57.XX.XX",
"ExposurePort": "22",
"ExposureTypeInstanceName": "ngw-bp1vkbju8f3w87c9v****",
"ExposedCount": 0,
"ExposureType": "SLB",
"RegionId": "cn-hangzhou",
"ExposureComponent": "tomcat",
"ExposureTypeId": "lb-2ze4rso39h4nczcqs****",
"ForwardPort": "80"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。