Skip to main content

ExportRecord

Description

call Excel file ExportRecord 'export' baseline check, asset, AK leak, etc.

Request Method

POST

Request Path

/apsara/route/Sas/ExportRecord

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
ExportTypeBODYstringYesaccessKeysupports 'export'ing detection types of detection results. Valid values include: baseline: cloud product baseline assetInstance: asset attack: attack analysis accessKey:AccessKey leak user: account in asset fingerprint survey port: port in asset fingerprint survey process: process in asset fingerprint survey software: software in asset fingerprint survey
ParamsBODYstringNo{"level":"high"}sets the filtering criteria for the document content of the test result to be 'export'ed.
LangBODYstringNozhthe language type of the request and receive message. Valid values include: zh: Chinese en: English
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring6673D49C-A9AB-40DD-B4A2-B92306701AE7the unique identifier generated by alibaba cloud for this request.
FileNamestringcms_20171101.xlsxthe name of the 'export' file.
Idlong131231ID of the 'export' file.

Example

Successful Response example

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

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}