Queries information about leaked AccessKey pairs in your assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-aegis:DescribeAccesskeyLeakList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Status |
string |
No |
The processing status of the leaked AccessKey information that you want to query. Valid values:
|
pending |
| Query |
string |
No |
The AccessKey ID that you want to query. Only exact match is supported. |
yourAccessKeyID |
| StartTs |
integer |
No |
The discovery time of the leaked information that you want to query. All AccessKey leak information discovered after this point in time is returned. This parameter is a UNIX timestamp. Unit: milliseconds. |
1614155361489 |
| PageSize |
integer |
Yes |
The maximum number of entries per page for a paged query. The maximum value of PageSize is 100. The default number of entries per page is 20. If the PageSize parameter is left empty, 20 entries are returned by default. Note
Do not leave PageSize empty. |
20 |
| CurrentPage |
integer |
Yes |
The page number of the current page in a paged query. Default value: 1. |
1 |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the member account in the resource directory (Alibaba Cloud account). Note
You can invoke the DescribeMonitorAccounts operation to obtain this parameter. |
1232428423234**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| RequestId |
string |
The unique ID generated by Alibaba Cloud for the request. |
B37C9052-A73E-4707-A024-9247702852BE |
| GmtLast |
integer |
This parameter is deprecated and can be ignored. |
1612357897000 |
| AkLeakCount |
integer |
The number of unprocessed AccessKey leak entries. |
1 |
| PageSize |
integer |
The maximum number of entries per page in a paged query. |
20 |
| TotalCount |
integer |
The total number of AccessKey leak entries returned. |
2 |
| AccessKeyLeakList |
array<object> |
The list of detailed information about leaked AccessKey pairs. |
|
|
object |
|||
| DealTime |
string |
The time when the AccessKey leak information was processed. |
2020-12-03 21:23:38 |
| Status |
string |
The processing status of the leaked AccessKey information. Valid values:
|
pending |
| Type |
string |
The type of the leak information. The value is fixed as AccessKey. |
AccessKey |
| UserType |
string |
The type of the account to which the leaked AccessKey pair belongs. Valid values:
|
master |
| AccesskeyId |
string |
The leaked AccessKey ID. |
yourAccessKeyID |
| AliUserName |
string |
The name of the affected Alibaba Cloud account. |
testAccountName |
| DealType |
string |
The method used to handle the AccessKey leak information. Valid values:
|
pending |
| Url |
string |
The URL of the external platform where the AccessKey leak was discovered. |
https://github.com/hht312/test-ak/blob/0e466d2ecce55b4c924d773a058e5dc602d8****/1001 |
| GmtModified |
integer |
The time when the AccessKey leak was first discovered. This parameter is a UNIX timestamp. Unit: milliseconds. |
1612357897000 |
| Asset |
string |
The platform where the asset resides. The value is fixed as Cloud Platform. |
云平台 |
| Id |
integer |
The primary key ID in the database. |
389357 |
Examples
Success response
JSON format
{
"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
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.