All Products
Search
Document Center

Security Center:SubmitOperationTask

Last Updated:Sep 12, 2026

Submits a remediation task for risky check items in cloud product configuration checks, or rolls back a remediation task that has been executed.

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

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

CheckId

integer

Yes

The ID of the check item.

Note

Call the ListCheckResult operation to obtain the check item ID.

132

OperationTaskInstances

array<object>

No

The asset information required to submit instance tasks.

object

No

The struct of the asset information.

Vendor

string

No

The asset vendor. Valid values:

  • 0: Alibaba Cloud asset

  • 1: asset outside the cloud

  • 2: IDC asset

  • 3, 4, 5, 7: asset from another cloud provider

  • 8: lightweight asset

7

RegionId

string

No

The region ID of the server.

cn-hangzhou

InstanceId

string

No

The instance ID of the server.

i-uf6533m4vuo3oa33****

TaskId

string

No

The task ID to roll back when performing a rollback task.

7d0b10e35e80c9e5ebac5f1054****

DimensionType

string

No

The task dimension for the submitted operation task. Valid values:

  • INSTANCE: instance dimension

  • CHECK_ID: check item dimension

Valid values:

  • CHECK_ID :

    check item dimension.

  • INSTANCE :

    instance dimension.

  • INSTANCE_RELATION_KEY :

    instance relation key dimension.

CHECK_ID

Type

string

Yes

The task type for the submitted task. Valid values:

  • REPAIR: remediation task

  • ROLLBACK: rollback task

REPAIR

RepairTempParam

array<object>

No

The temporary parameters required for the remediation task.

object

No

Name

string

No

The name of the temporary remediation parameter.

IPPort

Value

string

No

The value of the temporary remediation parameter.

192.168.1XX.1XX

RelationKey

string

No

The relation key associated with cross-page selection when submitting the operation.

Note

Call the CreateAssetSelectionConfig operation and use the BusinessType field to obtain the relation key.

CSPM_OPERATION_RELATION_KEY_173***

Response elements

Element

Type

Description

Example

object

The response struct.

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.

0C8487EF-50C2-54BB-8634-10F8C35D****

OperateCode

string

The result code returned by the operation. Valid values:

  • AuthorizationExhaust: Insufficient authorization.

  • ActionTrialUnauthorized: Unauthorized.

AuthorizationExhaust

RootTaskId

string

The root task ID returned after the task is submitted.

89f5d7813bd59dd237580a8664b3xxxx

Examples

Success response

JSON format

{
  "RequestId": "0C8487EF-50C2-54BB-8634-10F8C35D****",
  "OperateCode": "AuthorizationExhaust",
  "RootTaskId": "89f5d7813bd59dd237580a8664b3xxxx"
}

Error codes

HTTP status code

Error code

Error message

Description

400 RepairTaskConflict Fix task conflicts. Repair task conflicts. Check the submitted repair task.
400 RepairedParamNotCustomized.%s The required repair parameter %s is not customized. Repair required parameters are not customized.
400 ErrorParamFormat.%s Parameter %s format is incorrectly filled in. The specified format of the parameter is not satisfied.
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.