**[Deprecated]** This operation is deprecated. Use ExportRecord instead.
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
Test
RAM authorization
|
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 |
| 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,medium |
| StatusList |
string |
No |
The statuses of the risk items in the baseline check results. Separate multiple status values with commas (,). Valid values:
|
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:
|
N |
| IsSummaryExport |
integer |
No |
Specifies whether to export the baseline check results in summary mode. Valid values:
|
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 |
| 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.