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
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
ExportType | BODY | string | Yes | accessKey | supports '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 |
Params | BODY | string | No | {"level":"high"} | sets the filtering criteria for the document content of the test result to be 'export'ed. |
Lang | BODY | string | No | zh | the language type of the request and receive message. Valid values include: zh: Chinese en: English |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 6673D49C-A9AB-40DD-B4A2-B92306701AE7 | the unique identifier generated by alibaba cloud for this request. |
FileName | string | cms_20171101.xlsx | the name of the 'export' file. |
Id | long | 131231 | ID 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
}
}