Updates the status of a file protection event.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateFileProtectClientEvent |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SelectAll |
boolean |
Yes |
Specifies whether to select all. |
true |
| IdList |
array |
No |
The list of event IDs. |
|
|
integer |
No |
The list of event IDs. |
123 |
|
| RuleName |
string |
No |
The rule name. |
tetsRule |
| Status |
string |
No |
The event status. Valid values:
|
1 |
| AlertLevels |
array |
No |
The list of alert notification levels. |
|
|
integer |
No |
The alert notification level. Valid values:
|
2 |
|
| InstanceId |
string |
No |
The ID of the asset instance. |
i-bp1fu4aqltf1huhc**** |
| Uuid |
string |
No |
The UUID of the protected server. |
ae1527a9-2308-46ab-b10a-48ae7ff7**** |
| InstanceName |
string |
No |
The name of the asset instance. |
test |
| InternetIp |
string |
No |
The public IP address. |
120.27.XX.XX |
| IntranetIp |
string |
No |
The internal IP address. |
172.26.XX.XX |
| StartTime |
integer |
No |
The start time. |
1649260800000 |
| EndTime |
integer |
No |
The timestamp of the end time. |
1650470399999 |
| Operation |
string |
No |
The type of the operation. |
READ |
| ProcPath |
string |
No |
The process path. |
/root/1111/**** |
| FilePath |
string |
No |
The file path. |
/etc/pam**** |
| ExcludeIdList |
array |
No |
The list of excluded event IDs. |
|
|
integer |
No |
The list of excluded IDs. |
12 |
|
| NewStatus |
integer |
Yes |
The new status. Valid values:
|
1 |
| Remark |
array |
No |
The remarks. |
|
|
string |
No |
The remarks. |
testECS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
69BFFCDE-37D6-5A49-A8BC-BB03AC83**** |
Examples
Success response
JSON format
{
"RequestId": "69BFFCDE-37D6-5A49-A8BC-BB03AC83****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | |
| 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.