Queries the details about AccessKey pair leaks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAccessKeyLeakDetail

The operation that you want to perform. Set the value to DescribeAccessKeyLeakDetail.

Id Long Yes 389357

The ID of the AccessKey pair leak.

Response parameters

Parameter Type Example Description
Type String AccessKey

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

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

The URL of the profile picture for the GitHub user.

GithubUser String Blue00Blue

The username of the GitHub user.

GithubRepoName String ExamOnline

The name of the GitHub repository.

GithubFileType String Python

The type of the GitHub file. Valid values:

  • Python
  • XML
  • GO
  • Javascript
  • INI
  • JSON
  • C++
Remark String 12

The remarks of the AccessKey pair leak.

GithubFileUpdateTime String 2021-07-06T09:49:33

The time when the GitHub file was updated.

WhitelistStatus String no

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

  • no: no
  • yes: yes
GithubFileName String testAkLeak

The name of the GitHub file.

Source String GitHub

The platform on which the AccessKey pair leak is detected.

GmtModified String 2021-07-06 17:49:39

The last time when the AccessKey pair leak was detected.

Asset String Cloud platform

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

DealTime String 2022-01-17 15:47:08

The time when the AccessKey pair leak was handled.

RequestId String 79CFF74D-E967-5407-8A78-EE03B925FDAA

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

AccesskeyId String LTAI4G4VjkC9wenfEvgX****

The ID of the AccessKey pair that is leaked.

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

The URL of the GitHub file.

DealType String add-whitelist

The solution to the AccessKey pair leak. Valid values:

  • manual: manually deleted
  • disable: manually disabled
  • add-whitelist: added to the whitelist
  • pending: unhandled
Code String \n1231 \nak=LTAI4G4VjkC9wenfEvgX**** \n12311123 \nsk1999 \nsk1999sk1999 \nsk1999sk1999 \n\n\ntest001 ak hht \nak=LTAI4G4VjkC9wenfEvgX**** \nsk=AjEhS9XmnIzllpAx2LxMTMdrTGOqK9

The code snippet that is leaked.

GmtCreate String 2021-07-06 17:49:41

The first time when the AccessKey pair leak was detected.

GithubRepoUrl String https://github.com/Blue00Blue/ExamOn****

The URL of the GitHub repository.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeAccessKeyLeakDetail
&Id=389357
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeAccessKeyLeakDetailResponse>
    <Type>AccessKey</Type>
    <GithubUserPicUrl>https://avatars.githubusercontent.com/u/26296896?s=48&amp;v=****</GithubUserPicUrl>
    <GithubUser>Blue00Blue</GithubUser>
    <GithubRepoName>ExamOnline</GithubRepoName>
    <GithubFileType>Python</GithubFileType>
    <Remark>12</Remark>
    <GithubFileUpdateTime>2021-07-06T09:49:33Z</GithubFileUpdateTime>
    <WhitelistStatus>no</WhitelistStatus>
    <GithubFileName>testAkLeak</GithubFileName>
    <Source>GitHub</Source>
    <GmtModified>2021-07-06 17:49:39</GmtModified>
    <Asset>Cloud platform</Asset>
    <DealTime>2022-01-17 15:47:08</DealTime>
    <RequestId>79CFF74D-E967-5407-8A78-EE03B925FDAA</RequestId>
    <AccesskeyId>LTAI4G4VjkC9wenfEvgX****</AccesskeyId>
    <GithubFileUrl>https://github.com/Blue00Blue/ExamOnline/blob/6c932c10fc3f217783f3937e2b230f79656c18a7/testAk****</GithubFileUrl>
    <DealType>add-whitelist</DealType>
    <Code>\n1231 \nak=LTAI4G4VjkC9wenfEvgX**** \n12311123 \nsk1999 \nsk1999sk1999 \nsk1999sk1999 \n\n\ntest001 ak hht \nak=LTAI4G4VjkC9wenfEvgX**** \nsk=AjEhS9XmnIzllpAx2LxMTMdrTGOqK9</Code>
    <GmtCreate>2021-07-06 17:49:41</GmtCreate>
    <GithubRepoUrl>https://github.com/Blue00Blue/ExamOn****</GithubRepoUrl>
</DescribeAccessKeyLeakDetailResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/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:33Z",
  "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=AjEhS9XmnIzllpAx2LxMTMdrTGOqK9",
  "GmtCreate" : "2021-07-06 17:49:41",
  "GithubRepoUrl" : "https://github.com/Blue00Blue/ExamOn****"
}

Error codes

HTTP status code Error code Error message Description
500 ServerError ServerError The error message returned because a server error occurred.

For a list of error codes, visit the API Error Center.