Updates the status of file tamper-proofing rules in batches.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateFileProtectClientRuleStatus |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SelectAll |
boolean |
Yes |
Specifies whether to select all rules. |
true |
| IdList |
array |
No |
The list of rule IDs. |
|
|
integer |
No |
The list of rule IDs. |
123 |
|
| Status |
integer |
Yes |
The policy status. Valid values:
|
0 |
| RuleName |
string |
No |
The rule name. |
test |
| RuleAction |
string |
No |
The rule action. Valid values:
|
pass |
| AlertLevel |
integer |
No |
The alert notification level. Valid values:
|
0 |
| Platform |
string |
No |
The operating system type. Valid values:
|
linux |
| ExcludeIdList |
array |
No |
The list of excluded rule IDs. |
|
|
integer |
No |
The excluded rule ID. |
12 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
Examples
Success response
JSON format
{
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | |
| 400 | -107 | Invalid authorization status. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.