查询您资产中已泄露的AccessKey信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-aegis:DescribeAccesskeyLeakList |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| 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 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。