All Products
Search
Document Center

Security Center:ExportRecord

Last Updated:Apr 21, 2026

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: Chinese

  • en: English

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:

  • assetInstance: The list of servers in Asset Center

  • user: The list of account asset fingerprints

  • port: The list of port asset fingerprints

  • process: The list of process asset fingerprints

  • sca: The list of middleware asset fingerprints

  • database: The list of database asset fingerprints

  • web: The list of web service asset fingerprints

  • software: The list of software asset fingerprints

  • cron: The list of scheduled task (cron) asset fingerprints

  • autorun: The list of startup item asset fingerprints

  • lkm: The list of kernel module asset fingerprints

  • webserver: The list of website asset fingerprints

  • virusScanExport: The list of virus scan task details

  • imageVulExport: The list of system vulnerabilities in images

  • imageVulExport: The list of system vulnerabilities in images

  • imageBaseLineExport: The list of image baseline check results

  • imageAffectedMaliciousExport: The list of malicious sample check results for images

  • baselineCspm: The list of cloud platform configuration check results

  • attack: The list of attack analysis alerts

  • accessKey: The list of AK leakage detection alerts

  • exportObjectScanEvents: The list of malicious file detection alerts

  • domainDetail: Website assets

  • assetsPropertyScaProcessDetail: RASP-protected processes

  • exportHcWarning: The list of system baseline risks

  • raspAttackAlert: The list of RASP attack alerts

  • raspApplicationConfiguration: The list of RASP application configurations

  • raspWeaknessDetection: The list of RASP weakness detection results

  • raspInMemoryWebshellDetection: The list of RASP alerts for in-memory webshell detection

  • raspInMemoryWebshellInsertion: The list of RASP alerts for in-memory webshell insertion

  • listAgentExport: The list of agents

  • listSkillExport: The list of skills

  • listModelExport: The list of models

database

ExportFileType

string

No

The type of file to export. Valid values:

  • virusScanExport: Exports details of a virus scan task. This parameter is required when ExportType is set to virusScanExport.

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.