UpdateApprovalProcess

Updated at:

You can update an approval process for your Alibaba Cloud account.

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

csas:UpdateApprovalProcess

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProcessName

string

No

Name of the approval process. The name must be 1 to 128 characters in length. It can contain uppercase and lowercase letters, Chinese characters, digits, periods (.), underscores (_), and hyphens (-).

测试

Description

string

No

Description of the approval process. The description must be 1 to 128 characters in length. It can contain uppercase and lowercase letters, Chinese characters, digits, periods (.), underscores (_), hyphens (-), and spaces.

这是一个测试

ProcessNodes

array

No

List of approval nodes. You can define up to five approval nodes.

array

No

List of approvers for an approval node. You can define up to five approvers.

string

No

ID of an approver. Valid values:

su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****

MatchSchemas

object

No

Matching approval templates.

DomainWhitelistSchemaId

string

No

ID of the domain name whitelist approval template.

approval-schema-090134f1ebff****

DomainBlacklistSchemaId

string

No

ID of the domain name blacklist approval template.

approval-schema-090134f1ebff****

SoftwareBlockSchemaId

string

No

ID of the software blocking approval template.

approval-schema-090134f1ebff****

DeviceRegistrationSchemaId

string

No

ID of the device registration approval template.

approval-schema-090134f1ebff****

AppUninstallSchemaId

string

No

ID of the app uninstallation approval template.

approval-schema-090134f1ebff****

PeripheralBlockSchemaId

string

No

ID of the peripheral control approval template.

approval-schema-090134f1ebff****

DlpSendSchemaId

string

No

ID of the file transfer approval template.

approval-schema-090134f1ebff****

EndpointHardeningSchemaId

string

No

SoftwareHardeningSchemaId

string

No

ProcessId

string

Yes

ID of the approval process.

approval-process-f16bf74b2b29****

MatchSchemaConfigs

object

No

DomainWhitelistSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

DomainBlacklistSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

SoftwareBlockSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

DeviceRegistrationSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

AppUninstallSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

DlpSendSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

PeripheralBlockSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

EndpointHardeningSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

SoftwareHardeningSchemaConfig

object

No

SchemaId

string

No

ExternalProcessId

string

No

FieldMap

array<object>

No

object

No

SystemField

string

No

DisplayField

string

No

DisplayFieldValue

string

No

ApprovalType

integer

No

EventLabel

string

No

ExternalConfig

string

No

Response elements

Element

Type

Description

Example

object

Response schema.

RequestId

string

ID of the request.

7E9D7ACD-53D5-56EF-A913-79D148D06299

Process

object

Approval process.

CreateTime

string

Time when the approval process was created.

2022-07-11 15:31:39

ProcessId

string

ID of the approval process.

approval-process-2677fcf063f5****

ProcessName

string

Name of the approval process.

测试

Description

string

Description of the approval process.

这是一个测试

ProcessNodes

array<object>

List of approval nodes.

array<object>

List of approvers for a node.

object

An approver for a node.

SaseUserId

string

ID of an approver.

su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****

Username

string

Username of an approver.

王先生

DomainWhitelistPolicies

object

List of domain name whitelist policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of domain name whitelist policy IDs.

string

ID of a domain name whitelist policy.

ladp-27a4fedf5e73****

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

DomainBlacklistPolicies

object

List of domain name blacklist policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of domain name blacklist policy IDs.

string

ID of a domain name blacklist policy.

ladp-27a4fedf5e73****

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

SoftwareBlockPolicies

object

List of software blocking policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of software blocking policy IDs.

string

ID of a software blocking policy.

pid-9f37f3a5991f****

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

DeviceRegistrationPolicies

object

List of device registration policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of device registration policy IDs.

string

ID of a device registration policy.

reg-policy-63b2f1844b86****

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

AppUninstallPolicies

object

List of app uninstallation policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of app uninstallation policy IDs.

string

ID of an app uninstallation policy.

auto-boot-anti-uninstall-5919f8afff47****

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

DlpSendPolicies

object

List of file transfer policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of file transfer policy IDs.

string

ID of a file transfer policy.

17**

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

PeripheraBlockPolicies

object

List of peripheral control policies associated with the approval process.

SchemaId

string

ID of the approval template.

approval-schema-090134f1ebff****

PolicyIds

array

List of peripheral control policy IDs.

string

ID of a peripheral control policy.

17**

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

EndpointHardeningPolicies

object

SchemaId

string

PolicyIds

array

string

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

SoftwareHardeningPolicies

object

SchemaId

string

PolicyIds

array

string

ExternalProcessId

string

FieldMap

array<object>

object

SystemField

string

DisplayField

string

DisplayFieldValue

string

ApprovalType

integer

ExternalConfig

string

EventLabel

string

Examples

Success response

JSON format

{
  "RequestId": "7E9D7ACD-53D5-56EF-A913-79D148D06299",
  "Process": {
    "CreateTime": "2022-07-11 15:31:39",
    "ProcessId": "approval-process-2677fcf063f5****",
    "ProcessName": "测试",
    "Description": "这是一个测试",
    "ProcessNodes": [
      [
        {
          "SaseUserId": "su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****",
          "Username": "王先生"
        }
      ]
    ],
    "DomainWhitelistPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "ladp-27a4fedf5e73****"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "DomainBlacklistPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "ladp-27a4fedf5e73****"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "SoftwareBlockPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "pid-9f37f3a5991f****"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "DeviceRegistrationPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "reg-policy-63b2f1844b86****"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "AppUninstallPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "auto-boot-anti-uninstall-5919f8afff47****"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "DlpSendPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "17**"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "PeripheraBlockPolicies": {
      "SchemaId": "approval-schema-090134f1ebff****",
      "PolicyIds": [
        "17**"
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "EndpointHardeningPolicies": {
      "SchemaId": "",
      "PolicyIds": [
        ""
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "SoftwareHardeningPolicies": {
      "SchemaId": "",
      "PolicyIds": [
        ""
      ],
      "ExternalProcessId": "",
      "FieldMap": [
        {
          "SystemField": "",
          "DisplayField": "",
          "DisplayFieldValue": ""
        }
      ]
    },
    "ApprovalType": 0,
    "ExternalConfig": "",
    "EventLabel": ""
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.