查詢暴露在網際網路中的閘道資產、連接埠、系統元件或公網IP清單。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:DescribeExposedStatisticsDetail |
list |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| 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 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。