All Products
Search
Document Center

Security Center:DescribeAccessKeyLeakDetail

Last Updated:Feb 20, 2024

Queries the details of AccessKey pair leaks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeAccessKeyLeakDetailRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
IdlongYes

The ID of the AccessKey pair leak.

389357

Response parameters

ParameterTypeDescriptionExample
object
Typestring

The type of the leak. The value is fixed as AccessKey.

AccessKey
GithubUserPicUrlstring

The URL of the profile picture for the GitHub user.

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

The username of the GitHub user.

Blue00Blue
GithubRepoNamestring

The name of the GitHub repository.

ExamOnline
GithubFileTypestring

The type of the GitHub file. Valid values:

  • Python
  • XML
  • GO
  • Javascript
  • INI
  • JSON
  • C++
Python
Remarkstring

The remarks of the AccessKey pair leak.

12
GithubFileUpdateTimestring

The time when the GitHub file was updated.

2021-07-06T09:49:33
WhitelistStatusstring

Indicates whether the AccessKey pair leak is added to the whitelist. Valid values:

  • no: no
  • yes: yes
no
GithubFileNamestring

The name of the GitHub file.

testAkLeak
Sourcestring

The platform on which the AccessKey pair leak is detected.

GitHub
GmtModifiedstring

The last time when the AccessKey pair leak was detected.

2021-07-06 17:49:39
Assetstring

The platform to which the asset belongs. The value is fixed as Cloud platform.

Cloud platform
DealTimestring

The time when the AccessKey pair leak was handled.

2022-01-17 15:47:08
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

79CFF74D-E967-5407-8A78-EE03B925FDAA
AccesskeyIdstring

The ID of the AccessKey pair that is leaked.

LTAI4G4VjkC9wenfEvgX****
GithubFileUrlstring

The URL of the GitHub file.

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

The solution to the AccessKey pair leak. Valid values:

  • manual: manually deleted
  • disable: manually disabled
  • add-whitelist: added to the whitelist
  • pending: unhandled
add-whitelist
Codestring

The code snippet that is leaked.

\n1231 \nak=LTAI4G4VjkC9wenfEvgX**** \n12311123 \nsk1999 \nsk1999sk1999 \nsk1999sk1999 \n\n\ntest001 ak hht \nak=LTAI4G4VjkC9wenfEvgX**** \nsk=AjEhS9XmnIzllpAx2LxMTMdrTG****
GmtCreatestring

The first time when the AccessKey pair leak was detected.

2021-07-06 17:49:41
GithubRepoUrlstring

The URL of the GitHub repository.

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

The validity of the key associated with the AK. Value:

  • 0: to be confirmed
  • 1: Valid
  • 2: Invalid
2
WhitelistTimelong

The time when the AK whitelist was added. Unit: milliseconds.

1689172004478

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-07-12The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2021-12-22Add Operationsee changesets