全部产品
Search
文档中心

云安全中心:DescribeAccessKeyLeakDetail - 查看AccessKey泄露事件详情

更新时间:Jun 15, 2026

查看AccessKey泄露事件详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

yundun-sas:DescribeAccessKeyLeakDetail

get

*全部资源

*

请求参数

名称

类型

必填

描述

示例值

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

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情