All Products
Search
Document Center

Security Center:ExportWarning

Last Updated:Oct 21, 2026

**[Deprecated]** This operation is deprecated. Use ExportRecord instead.

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.

Operation description

[Deprecated] Exports the list of baseline check results. This operation is deprecated. Use ExportRecord instead.

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.

192.0.XX.XX

Lang

string

No

Specifies the language type for the request and response messages. Default value: zh. Valid values:

  • zh: Chinese

  • en: English

zh

Uuids

string

No

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

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

TypeName

string

No

Specifies the baseline type to which the baseline check results to be exported belong.

Note

The value is the TypeName field returned by the DescribeRiskType operation. If both TypeName and TypeNames are specified, only TypeName takes effect.

hc_container

TypeNames

string

No

Specifies the baseline types to which the baseline check results to be exported belong. Separate multiple types with commas (,).

Note

The value is the TypeName field returned by the DescribeRiskType operation. If both TypeName and TypeNames are specified, only TypeName takes effect.

hc_container,cis

SubTypeNames

string

No

Specifies the baseline subtypes to which the baseline check results to be exported belong. Separate multiple subtypes with commas (,).

Note

The value is the TypeName field under the SubTypes field returned by the DescribeRiskType operation.

hc_middleware_ack_master

RiskLevels

string

No

The risk levels of the baselines. Separate multiple risk levels with commas (,). Valid values:

  • high: High

  • medium: Medium

  • low: Low

high,medium

StatusList

string

No

The statuses of the risk items in the baseline check results. Separate multiple status values 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

Specifies whether the baseline issue is handled. Valid values:

  • Y: The issue is handled.

  • N: The issue is not handled.

N

IsSummaryExport

integer

No

Specifies whether to export the baseline check results in summary mode. Valid values:

  • 0: The results are not exported in summary mode.

  • 1: The results are exported in summary mode.

1

StrategyId

integer

No

The ID of the baseline check policy.

12

RiskIds

string

No

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

123,124

ExportType

string

No

The type of the export task. Set the value to hc_check_warning, which indicates exporting baseline check results.

hc_check_warning

IsCleartextPwd

integer

No

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

  • 0: Weak passwords are masked before export.

  • 1: Weak passwords are exported in plaintext.

0

GroupId

integer

No

The ID of the server group.

Note

You can call the DescribeAllGroups operation to obtain the ID of the server group.

13007754

Response elements

Element

Type

Description

Example

object

The response data.

RequestId

string

The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues.

A7FC828B-C242-1005-9736-C7CC5DC09FF0

FileName

string

The name of the exported baseline check result file.

health_check_export_20220407

Id

integer

The ID of the task that exports the list of baseline check results.

Note

You can use 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.