全部產品
Search
文件中心

Security Center:DescribeAccessKeyLeakDetail

更新時間:Jun 15, 2026

查看 AccessKey 洩露事件詳情。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

yundun-sas:DescribeAccessKeyLeakDetail

get

*All Resource

*

請求參數

名稱

類型

必填

描述

樣本值

Id

integer

要查詢 AK 洩露事件的 ID。

說明

呼叫 DescribeAccesskeyLeakList 介面可以取得該參數。

389357

ResourceDirectoryAccountId

integer

資源目錄成員帳號 ID(阿里雲帳號)。

說明

呼叫 DescribeMonitorAccounts 介面可以取得該參數。

127608589417****

返回參數

名稱

類型

描述

樣本值

object

Type

string

洩露資訊的類型,固定取值為 AccessKey

AccessKey

GithubUserPicUrl

string

GitHub 使用者的圖片地址。

https://avatars.githubusercontent.com/u/26296896?s=48&v=****

GithubUser

string

GitHub 使用者名稱。

Blue00Blue

GithubRepoName

string

GitHub 倉庫名稱。

ExamOnline

GithubFileType

string

GitHub 檔案類型。取值:

  • Python

  • XML

  • GO

  • Javascript

  • INI

  • JSON

  • C++。

Python

Remark

string

AK 洩露事件的備註資訊。

12

GithubFileUpdateTime

string

GitHub 檔案更新時間。

2021-07-06T09:49:33

WhitelistStatus

string

AK 洩露事件是否已加入白名單。取值:

  • no:未加入白名單

  • yes:已加入白名單。

no

GithubFileName

string

GitHub 檔案名稱。

testAkLeak

Source

string

AK 洩露事件的情報來源。

GitHub

GmtModified

string

洩露事件的最新發現時間。

2021-07-06 17:49:39

Asset

string

資產所在的平台,取值固定為雲端平台

云平台

DealTime

string

AK 洩露事件的處理時間。

2022-01-17 15:47:08

RequestId

string

本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一識別碼,可用於排查和定位問題。

79CFF74D-E967-5407-8A78-EE03B925FDAA

AccesskeyId

string

洩露的 AccessKey ID。

yourAccessKeyID

GithubFileUrl

string

GitHub 檔案的地址。

https://github.com/Blue00Blue/ExamOnline/blob/6c932c10fc3f217783f3937e2b230f79656c18a7/testAk****

DealType

string

AK 洩露事件的處理方式。取值:

  • manual:已確認手動刪除

  • disable:已手動停用

  • add-whitelist:已加白名單

  • pending:未處理。

add-whitelist

Code

string

洩露的程式碼片段。

\n1231 \nak=yourAccessKeyID \n12311123 \nsk1999 \nsk1999sk1999 \nsk1999sk1999 \n\n\ntest001 ak hht \nak=yourAccessKeyID \nsk=yourAccessKeySecret

GmtCreate

string

AK 洩露事件的首次發現時間。

2021-07-06 17:49:41

GithubRepoUrl

string

GitHub 倉庫地址。

https://github.com/Blue00Blue/ExamOn****

TokenValid

integer

AK 關聯的密鑰有效性。取值:

  • 0:待確認

  • 1:有效

  • 2:無效。

2

WhitelistTime

integer

AK 白名單新增時間。單位:毫秒。

1689172004478

樣本

正常返回樣本

JSON格式

{
  "Type": "AccessKey",
  "GithubUserPicUrl": "https://avatars.githubusercontent.com/u/26296896?s=48&v=****",
  "GithubUser": "Blue00Blue",
  "GithubRepoName": "ExamOnline",
  "GithubFileType": "Python",
  "Remark": "12",
  "GithubFileUpdateTime": "2021-07-06T09:49:33",
  "WhitelistStatus": "no",
  "GithubFileName": "testAkLeak",
  "Source": "GitHub",
  "GmtModified": "2021-07-06 17:49:39",
  "Asset": "云平台",
  "DealTime": "2022-01-17 15:47:08",
  "RequestId": "79CFF74D-E967-5407-8A78-EE03B925FDAA",
  "AccesskeyId": "yourAccessKeyID",
  "GithubFileUrl": "https://github.com/Blue00Blue/ExamOnline/blob/6c932c10fc3f217783f3937e2b230f79656c18a7/testAk****",
  "DealType": "add-whitelist",
  "Code": "\\n1231 \\nak=yourAccessKeyID \\n12311123 \\nsk1999 \\nsk1999sk1999 \\nsk1999sk1999 \\n\\n\\ntest001 ak hht \\nak=yourAccessKeyID \\nsk=yourAccessKeySecret",
  "GmtCreate": "2021-07-06 17:49:41",
  "GithubRepoUrl": "https://github.com/Blue00Blue/ExamOn****",
  "TokenValid": 2,
  "WhitelistTime": 1689172004478
}

錯誤碼

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

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情