All Products
Search
Document Center

Security Center:ExportWarning

Last Updated:Nov 25, 2024

Exports baseline check results.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ExportWarningnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

192.0.XX.XX
LangstringNo

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

  • zh: Chinese
  • en: English
zh
UuidsstringNo

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****
TypeNamestringNo

The type of the baseline based on which baseline checks are performed.

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
TypeNamesstringNo

The types of the baselines based on which baseline checks are performed. 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
SubTypeNamesstringNo

The subtypes of the baselines based on which baseline checks are performed. 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
RiskLevelsstringNo

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

  • high
  • medium
  • low
high,medium
StatusListstringNo

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

  • 3: passed
  • 1: failed
1,3
RiskNamestringNo

The name of the baseline.

Alibaba Cloud Standard - Windows 2016/2019 Security Baseline
DealedstringNo

Specifies whether the baseline risks are handled. Valid values:

  • Y: yes
  • N: no
N
IsSummaryExportintegerNo

Specifies whether the baseline check results are aggregated and exported. Valid values:

  • 0: no
  • 1: yes
1
StrategyIdlongNo

The ID of the baseline check policy.

12
RiskIdsstringNo

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

123,124
ExportTypestringNo

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

hc_check_warning
IsCleartextPwdintegerNo

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

  • 0: exports the check results after it is masked.
  • 1: exports the check results in plaintext.
0
GroupIdlongNo

The ID of the server group.

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

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

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

A7FC828B-C242-1005-9736-C7CC5DC09FF0
FileNamestring

The name of the file that contains exported baseline check results.

health_check_export_20220407
Idlong

The ID of the task to export baseline check results.

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

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
400FreeVersionNotPermitFree version is not permitted.The free version cannot be used.
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-09-27The Error code has changedView Change Details
2024-06-13The Error code has changedView Change Details
2024-01-18The request parameters of the API has changedView Change Details
2022-08-01The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-08-01The internal configuration of the API is changed, but the call is not affectedView Change Details