You can call this operation to export baseline check, asset fingerprint check, and AccessKey leak check results to Excel files.

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 ExportRecord

The operation that you want to perform.

Set the value to:ExportRecord.

ExportType String Yes accessKey

The check types that can be exported. Valid values:

  • baseline: Alibaba Cloud service baseline checks
  • assetInstance: assets
  • attack: attack analysis
  • accessKey: AccessKey leaks
  • user: the accounts covered by asset fingerprints
  • port: the ports covered by asset fingerprints
  • process: the processes of an asset fingerprint check
  • software: the software of an asset fingerprint check
Lang String No zh

The language of the request and response. Valid values: Valid values:

  • zh: Chinese
  • en: English
Params String No {"level":"high"}

Sets conditions to filter check results in the files to which the check results are exported.

Response parameters

Parameter Type Example Description
FileName String cms_20171101.xlsx

The name of the exported file.

Id Long 131231

The ID of the exported file.

RequestId String 6673D49C-A9AB-40DD-B4A2-B92306701AE7

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ExportRecord
&ExportType=accessKey
&<Common request parameters>

Sample success responses

XML format

<ExportRecordResponse>
  <Id>131231</Id>
  <FileName>cms_20171101.xlsx</FileName>
  <requestId>6673D49C-A9AB-40DD-B4A2-B92306701AE7</requestId>
</ExportRecordResponse>

JSON format

{
    "Id": 131231,
    "FileName": "cms_20171101.xlsx",
    "requestId": "6673D49C-A9AB-40DD-B4A2-B92306701AE7"
}

Error codes

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