All Products
Search
Document Center

Security Center:ListOperationTask

Last Updated:Mar 24, 2026

Display the list of cloud product configuration check, repair, and rollback tasks

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

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

CurrentPage

integer

No

The page number to display in a paginated query.

1

PageSize

integer

No

The maximum number of items to display per page in a paginated query.

10

TaskId

string

No

The ID of the task to be queried.

d7b2acf8d362742123e4a84e1bf8****

Type

string

No

The type of operation task to be queried:

  • REPAIR: Repair

  • ROLLBACK: Rollback

REPAIR

CheckId

integer

No

The ID of the check item.

Note

You can call the ListCheckResult API to obtain the check item ID.

76

OperationTaskInstances

array<object>

No

The instance information of the operation tasks to be queried.

object

No

Vendor

string

No

Cloud asset vendor.

ALIYUN

RegionId

string

No

The ID of the region where the instance is located.

cn-hangzhou

InstanceId

string

No

The instance ID of the server.

am-bp1vy2yaj1nvx****

Statuses

array

No

A list of task statuses. Multiple statuses should be separated by commas (,). Values:

  • INIT: Initialization

  • FAIL: Processing failed

  • THROTTLING: Repairing concurrently

  • IN_BACKUP: Backing up

  • BACKED_UP: Backed up

  • BACKUP_FAIL: Backup failed

  • REPAIRING: Repairing

  • REPAIR_SUCCESS: Repair succeeded

  • REPAIR_FAIL: Repair failed

  • REPAIR_SUCCESS_VERIFYING: Verifying repair success

  • REPAIR_SUCCESS_UNVERIFIED: Repair success verification failed

  • REPAIR_SUCCESS_VERIFIED: Repair success verified

  • REPAIR_RE_EXECUTE: Re-executing repair

  • ROLL_BACKING: Rolling back

  • ROLL_BACKED: Rolled back

  • ROLL_BACK_FAIL: Rollback failed

  • ROLL_BACK_INIT: Rollback initiated

  • ROLL_BACK_VERIFYING: Verifying rollback success

  • ROLL_BACK_UNVERIFIED: Rollback success verification failed

  • ROLL_BACK_VERIFIED: Rollback success verified

string

No

The status of the task.

REPAIRING

Lang

string

No

Set the language type for the request and response messages. The default value is zh. Values:

  • zh: Chinese

  • en: English

zh

Response elements

Element

Type

Description

Example

object

The format of the message.

RequestId

string

The ID of the current request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.

3956048F-9D73-5EDB-834B-4827BB48****

OperationTasks

array<object>

Detailed instance information list of operation tasks.

object

RiskLevel

string

The risk level of the detected alert. Values:

  • high: High risk.

  • medium: Medium risk.

  • low: Low risk.

high

CheckId

integer

The ID of the check item.

3

RegionId

string

The ID of the region where the server is located.

cn-shenzhen

LastCheckTime

integer

The timestamp of the latest check, in milliseconds.

1723173101000

Status

string

The status of the task. Possible values:

  • INIT:Initialization

  • FAIL:Processing failed

  • THROTTLING:Repairing concurrently

  • IN_BACKUP:Backing up

  • BACKED_UP:Backed up

  • BACKUP_FAIL:Backup failed

  • REPAIRING:Repairing

  • REPAIR_SUCCESS:Repair succeeded

  • REPAIR_FAIL:Repair failed

  • REPAIR_SUCCESS_VERIFYING:Verifying repair success

  • REPAIR_SUCCESS_UNVERIFIED:Verification of repair success failed

  • REPAIR_SUCCESS_VERIFIED:Verification of repair success succeeded

  • REPAIR_RE_EXECUTE:Re-executing repair

  • ROLL_BACKING:Rolling back

  • ROLL_BACKED:Rolled back

  • ROLL_BACK_FAIL:Rollback failed

  • ROLL_BACK_INIT:Initiating rollback

  • ROLL_BACK_VERIFYING:Verifying rollback success

  • ROLL_BACK_UNVERIFIED:Verification of rollback success failed

  • ROLL_BACK_VERIFIED:Verification of rollback success succeeded

REPAIRING

DealTime

integer

The processing time of the task.

1723173101010

TaskId

string

The ID of the operation task.

5bb1a313f9924b728b3c12e007c1****

RootTaskId

string

The ID of the main task.

01db51b0e5307bb703a22611c86f****

InstanceId

string

The ID of the server instance.

i-wz9abo6wgjmh4yep****

Type

string

The type of the operation task being queried:

  • REPAIR: Repair

  • ROLLBACK: Rollback

REPAIR

CheckShowName

string

The name of the check item.

Enable malicious host behavior defense

StatusShowName

string

The display status of the repair task.

Rollback verified

RepairSupportType

integer

The type of repair supported by the check item:

  • 1:Supports repair and rollback operations

  • 2:Supports repair but not rollback

  • 3:Redirect to a third-party platform for operation

1

SupportRollBack

boolean

Whether rollback is supported:

  • true: Supported

  • false: Not supported

true

InstanceFreed

boolean

Whether the instance is released:

  • true: Released

  • false: Not released

true

ErrorCode

string

The error code.

BackUpScriptError

ErrorMsg

string

The error message.

backUp script error

PageInfo

object

Page information when performing a paginated query.

CurrentPage

integer

The page number of the current page in a paginated query.

1

PageSize

integer

The maximum number of items to display per page in a paginated query.

20

TotalCount

integer

The total number of records in the query result.

149

Count

integer

The number of entries returned on the current page.

20

Examples

Success response

JSON format

{
  "RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
  "OperationTasks": [
    {
      "RiskLevel": "high",
      "CheckId": 3,
      "RegionId": "cn-shenzhen",
      "LastCheckTime": 1723173101000,
      "Status": "REPAIRING",
      "DealTime": 1723173101010,
      "TaskId": "5bb1a313f9924b728b3c12e007c1****",
      "RootTaskId": "01db51b0e5307bb703a22611c86f****",
      "InstanceId": "i-wz9abo6wgjmh4yep****",
      "Type": "REPAIR",
      "CheckShowName": "Enable malicious host behavior defense",
      "StatusShowName": "Rollback verified",
      "RepairSupportType": 1,
      "SupportRollBack": true,
      "InstanceFreed": true,
      "ErrorCode": "BackUpScriptError",
      "ErrorMsg": "backUp script error"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 149,
    "Count": 20
  }
}

Error codes

HTTP status code

Error code

Error message

Description

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.