查詢您資產中已洩露的 AccessKey 資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-aegis:DescribeAccesskeyLeakList |
get |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Status |
string |
否 |
指定要查詢的已洩露的 AccessKey 資訊的處理狀態。取值:
|
pending |
| Query |
string |
否 |
指定要查詢的 AccessKey ID。僅支援精確查詢。 |
yourAccessKeyID |
| StartTs |
integer |
否 |
指定要查詢的洩露資訊的發現時間,可以查詢該時間點後發現的所有 AccessKey 洩露資訊。該參數為時間戳格式,單位為毫秒。 |
1614155361489 |
| PageSize |
integer |
是 |
指定分頁查詢時,每頁顯示的資料最大條數。 說明
建議 PageSize 取值不要為空。 |
20 |
| CurrentPage |
integer |
是 |
指定分頁查詢時,當前頁的頁碼。預設值為 1。 |
1 |
| ResourceDirectoryAccountId |
integer |
否 |
資源目錄成員帳號 ID(阿里雲帳號)。 說明
呼叫 DescribeMonitorAccounts 介面可以取得該參數。 |
1232428423234**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| CurrentPage |
integer |
分頁查詢時,當前頁的頁碼。 |
1 |
| RequestId |
string |
阿里雲為該請求生成的唯一識別碼。 |
B37C9052-A73E-4707-A024-9247702852BE |
| GmtLast |
integer |
該參數已廢棄,無需關注。 |
1612357897000 |
| AkLeakCount |
integer |
未處理的 AccessKey 洩露資訊的數量。 |
1 |
| PageSize |
integer |
分頁查詢時,每頁最多顯示的資料條數。 |
20 |
| TotalCount |
integer |
查詢到的 AccessKey 洩露資訊的總條數。 |
2 |
| AccessKeyLeakList |
array<object> |
AccessKey 洩露的詳細資訊列表。 |
|
|
object |
|||
| DealTime |
string |
AccessKey 洩露資訊的處理時間。 |
2020-12-03 21:23:38 |
| Status |
string |
洩露的 AccessKey 資訊的處理狀態。取值:
|
pending |
| Type |
string |
洩露資訊的類型,固定取值為 AccessKey。 |
AccessKey |
| UserType |
string |
洩露 AK 的帳號類型。取值:
|
master |
| AccesskeyId |
string |
洩露的 AccessKey ID。 |
yourAccessKeyID |
| AliUserName |
string |
受影響的阿里雲帳號名稱。 |
testAccountName |
| DealType |
string |
AccessKey 洩露資訊的處理方式。取值:
|
pending |
| Url |
string |
發現 AccessKey 洩露資訊的外部平台連結。 |
https://github.com/hht312/test-ak/blob/0e466d2ecce55b4c924d773a058e5dc602d8****/1001 |
| GmtModified |
integer |
AccessKey 洩露的首次發現時間。該參數為時間戳格式,單位為毫秒。 |
1612357897000 |
| Asset |
string |
資產所在的平台,取值固定為雲端平台。 |
云平台 |
| Id |
integer |
資料庫主鍵 ID。 |
389357 |
樣本
正常返回樣本
JSON格式
{
"CurrentPage": 1,
"RequestId": "B37C9052-A73E-4707-A024-9247702852BE",
"GmtLast": 1612357897000,
"AkLeakCount": 1,
"PageSize": 20,
"TotalCount": 2,
"AccessKeyLeakList": [
{
"DealTime": "2020-12-03 21:23:38",
"Status": "pending",
"Type": "AccessKey",
"UserType": "master",
"AccesskeyId": "yourAccessKeyID",
"AliUserName": "testAccountName",
"DealType": "pending",
"Url": "https://github.com/hht312/test-ak/blob/0e466d2ecce55b4c924d773a058e5dc602d8****/1001",
"GmtModified": 1612357897000,
"Asset": "云平台",
"Id": 389357
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 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 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。