Queries the details of AccessKey pair leaks.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sas:DescribeAccessKeyLeakDetail | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Id | long | Yes | The ID of the AccessKey pair leak event. Note
You can call the DescribeAccesskeyLeakList operation to obtain the event ID.
| 389357 |
ResourceDirectoryAccountId | long | No | The Alibaba Cloud account ID of the member in the resource directory. Note
You can call the DescribeMonitorAccounts operation to query the ID.
| 127608589417**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"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": "Cloud platform",
"DealTime": "2022-01-17 15:47:08",
"RequestId": "79CFF74D-E967-5407-8A78-EE03B925FDAA",
"AccesskeyId": "LTAI4G4VjkC9wenfEvgX****",
"GithubFileUrl": "https://github.com/Blue00Blue/ExamOnline/blob/6c932c10fc3f217783f3937e2b230f79656c18a7/testAk****",
"DealType": "add-whitelist",
"Code": "\\n1231 \\nak=LTAI4G4VjkC9wenfEvgX**** \\n12311123 \\nsk1999 \\nsk1999sk1999 \\nsk1999sk1999 \\n\\n\\ntest001 ak hht \\nak=LTAI4G4VjkC9wenfEvgX**** \\nsk=AjEhS9XmnIzllpAx2LxMTMdrTG****",
"GmtCreate": "2021-07-06 17:49:41",
"GithubRepoUrl": "https://github.com/Blue00Blue/ExamOn****",
"TokenValid": 2,
"WhitelistTime": 1689172004478
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | RdCheckNoPermission | Resource directory account verification has no permission. | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | RdCheckInnerError | Resource directory account service internal error. | - |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-04-18 | The Error code has changed. The request parameters of the API has changed | View Change Details |
2023-07-12 | The response structure of the API has changed | View Change Details |
2021-12-22 | Add Operation | View Change Details |