Retrieves the list of file protection events.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListFileProtectClientEvent |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuleName |
string |
No |
The name of the configuration rule. |
text-001 |
| Status |
string |
No |
The event status. Valid values:
|
0 |
| AlertLevels |
array |
No |
The list of alert notification levels. |
|
|
integer |
No |
The alert notification level. Valid values:
|
1 |
|
| CurrentPage |
integer |
No |
The page number of the current page when paging is used in a paged query. |
1 |
| PageSize |
integer |
No |
The maximum number of entries per page when paging is used in a paged query. |
100 |
| InstanceId |
string |
No |
The ID of the asset instance. |
i-bp1fu4aqltf1huhc**** |
| Uuid |
string |
No |
The UUID of the server to query. Note
Call the DescribeCloudCenterInstances operation to obtain this parameter. |
4fe8e1cd-3c37-4851-b9de-124da32c**** |
| InstanceName |
string |
No |
The name of the asset instance. |
ca_cpm_**** |
| InternetIp |
string |
No |
The public IP address. |
120.27.XX.XX |
| IntranetIp |
string |
No |
The private IP address. |
172.26.XX.XX |
| StartTime |
integer |
No |
The start time. |
1650470399999 |
| EndTime |
integer |
No |
The end timestamp. |
1650470399999 |
| Operation |
string |
No |
The type of operation performed on the file. Valid values:
|
READ |
| ProcPath |
string |
No |
The process path. |
c:/windows/system32/i**** |
| FilePath |
string |
No |
The file path. |
/etc/pam**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
ACF97412-FD09-4D1F-994F-34DF12B**** |
| EventList |
array<object> |
The file monitoring events. |
|
|
object |
The file monitoring events. |
||
| AlertLevel |
integer |
The alert notification level. Valid values:
|
1 |
| Uuid |
string |
The UUID of the server. |
94b44720-d982-4d20-a4e1-80a1a57b**** |
| RuleName |
string |
The rule name. |
test-rule-1 |
| LatestTime |
integer |
The most recent time the event occurred. |
1694576692000 |
| FirstTime |
integer |
The timestamp when the event was first detected. Unit: milliseconds. |
1694576692000 |
| Status |
integer |
The event status. Valid values:
|
1 |
| Id |
integer |
The event ID. |
3719 |
| InstanceName |
string |
The name of the server instance. |
kyy-admin-01 |
| InternetIp |
string |
The public IP address of the instance. |
121.40.XX.XX |
| IntranetIp |
string |
The private IP address of the instance. |
172.22.XX.XX |
| FilePath |
string |
The file path. |
/data/* |
| Operation |
string |
The type of operation performed on the file. Valid values:
|
DELETE |
| Remark |
string |
The remarks. |
test |
| ProcPermission |
string |
The process permission. |
rwxr-xr-x |
| CmdLine |
string |
The command line of the event. |
["touch","/test/aaaa"] |
| ProcPath |
string |
The process path. |
c:/*Unity* |
| HandleTime |
integer |
The time when the event was handled. |
1694576692000 |
| ProcessId |
string |
The process ID of the event. |
52636 |
| Platform |
string |
The operating system type. Valid values:
|
linux |
| RuleAction |
string |
The rule action. Valid values:
|
block |
| Count |
integer |
The number of times the event occurred. |
3 |
| PageInfo |
object |
The pagination information of the query result. |
|
| CurrentPage |
integer |
The page number of the current page when paging is used in a paged query. |
1 |
| PageSize |
integer |
The maximum number of entries per page when paging is used in a paged query. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
263 |
Examples
Success response
JSON format
{
"RequestId": "ACF97412-FD09-4D1F-994F-34DF12B****",
"EventList": [
{
"AlertLevel": 1,
"Uuid": "94b44720-d982-4d20-a4e1-80a1a57b****",
"RuleName": "test-rule-1\n",
"LatestTime": 1694576692000,
"FirstTime": 1694576692000,
"Status": 1,
"Id": 3719,
"InstanceName": "kyy-admin-01",
"InternetIp": "121.40.XX.XX\n",
"IntranetIp": "172.22.XX.XX",
"FilePath": "/data/*",
"Operation": "DELETE",
"Remark": "test",
"ProcPermission": "rwxr-xr-x",
"CmdLine": "[\"touch\",\"/test/aaaa\"]",
"ProcPath": "c:/*Unity*",
"HandleTime": 1694576692000,
"ProcessId": "52636",
"Platform": "linux",
"RuleAction": "block",
"Count": 3
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 263
}
}
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.