All Products
Search
Document Center

Security Center:ExportWarning

Last Updated:Aug 28, 2026

Exports baseline check results.

Note

This API has been deprecated. We recommend migrating to Sas(2018-12-03) - ExportRecord for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.

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

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

The source IP address of the request.

192.0.XX.XX

Lang

string

No

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese

  • en: English

zh

Uuids

string

No

The UUID of the server whose baseline check results you want to export. Separate multiple UUIDs with commas (,).

inet-7c676676-06fa-442e-90fb-b802e****,inet-7c676676-06fa-442e-90fb-b****

TypeName

string

No

The baseline type used for baseline checks.

Note

You must set the value of this parameter to the value of the TypeName parameter that is returned by calling the DescribeRiskType operation. If both the TypeName and TypeNames parameters are specified, only the TypeName parameter takes effect.

hc_container

TypeNames

string

No

The baseline types used for baseline checks. Separate multiple types with commas (,).

Note

You must set the value of this parameter to the value of the TypeName parameter that is returned by calling the DescribeRiskType operation. If both the TypeName and TypeNames parameters are specified, only the TypeName parameter takes effect.

hc_container,cis

SubTypeNames

string

No

The baseline subtypes used for baseline checks. Separate multiple subtypes with commas (,).

Note

You must set the value of this parameter to the value of the TypeName parameter that is contained in the SubTypes parameter. You can call the DescribeRiskType operation to obtain the value of the TypeName parameter.

hc_middleware_ack_master

RiskLevels

string

No

The severity of the baseline check item. Separate multiple severities with commas (,). Valid values:

  • high

  • medium

  • low

high,medium

StatusList

string

No

The status of the check item in the baseline check results. Separate multiple statuses with commas (,). Valid values:

  • 3: passed

  • 1: failed

1,3

RiskName

string

No

The name of the baseline.

Alibaba Cloud Standard - Windows 2016/2019 Security Baseline

Dealed

string

No

Whether the baseline risks are handled. Valid values:

  • Y: yes

  • N: no

N

IsSummaryExport

integer

No

Whether to aggregate and export baseline check results. Valid values:

  • 0: no

  • 1: yes

1

StrategyId

integer

No

The ID of the baseline check policy.

12

RiskIds

string

No

The ID of the risk item in the baseline check results. Separate multiple IDs with commas (,).

123,124

ExportType

string

No

The export task type. Set the value to hc_check_warning to export baseline check results.

hc_check_warning

IsCleartextPwd

integer

No

The export method for weak password baseline check results. Valid values:

  • 0: exports the check results after masking.

  • 1: exports the check results in plaintext.

0

GroupId

integer

No

The ID of the server group.

Note

You can call the DescribeAllGroups operation to query the IDs of server groups.

13007754

Response elements

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID, which is used to locate and troubleshoot issues.

A7FC828B-C242-1005-9736-C7CC5DC09FF0

FileName

string

The file name of the exported baseline check results.

health_check_export_20220407

Id

integer

The ID of the task to export baseline check results.

Note

You can use the value of this parameter to call the DescribeHcExportInfo operation to query the export progress.

439316

Examples

Success response

JSON format

{
  "RequestId": "A7FC828B-C242-1005-9736-C7CC5DC09FF0",
  "FileName": "health_check_export_20220407",
  "Id": 439316
}

Error codes

HTTP status code

Error code

Error message

Description

400 FreeVersionNotPermit Free version is not permitted. The free version cannot be used.
400 ExportRecordNotFound No risk entries found for export. No risk entries found for export.
500 ServerError ServerError
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.