Exports baseline check results.
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
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 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 |
| 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 |
| StatusList |
string |
No |
The status of the check item in the baseline check results. Separate multiple statuses 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 |
Whether the baseline risks are handled. Valid values:
|
N |
| IsSummaryExport |
integer |
No |
Whether to aggregate and export baseline check results. Valid values:
|
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 |
| 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.