UpdateApprovalProcess
You can update an approval process for your Alibaba Cloud account.
Try it now
Test
RAM authorization
|
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.