Exports detection results from various Cloud Security Center features, such as Asset Center, cloud platform configuration check, image security scan, attack analysis, and AK leakage detection, to an Excel file.
Operation description
After you call this operation, you can call the DescribeExportInfo operation to query the export progress and retrieve the download URL for the exported Excel file.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ExportRecord |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content in the request and response. Default value: zh. Valid values:
|
zh |
| Params |
string |
No |
The filter conditions for the exported content. Note
This is a general-purpose operation for exporting various detection lists from Cloud Security Center. As parameter configurations vary by feature, we recommend that you omit this parameter to export the complete list. You can then filter the data in the exported Excel file. |
{"extend":"1","currentPage":1,"pageSize":10} |
| ExportType |
string |
Yes |
The type of records to export. Valid values:
|
database |
| ExportFileType |
string |
No |
The type of file to export. Valid values:
|
virusScanExport |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the management account for a member in Resource Directory. Note
You can call the DescribeMonitorAccounts operation to obtain this parameter. |
1232428423234**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request, used to locate and troubleshoot issues. |
6673D49C-A9AB-40DD-B4A2-B92306701AE7 |
| FileName |
string |
The name of the exported file. |
cms_20171101.xlsx |
| Id |
integer |
The ID of the export task. |
131231 |
Examples
Success response
JSON format
{
"RequestId": "6673D49C-A9AB-40DD-B4A2-B92306701AE7",
"FileName": "cms_20171101.xlsx",
"Id": 131231
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 400 | FreeVersionNotPermit | Free version is not permitted. | The free version cannot be used. |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.