All Products
Search
Document Center

Security Center:ListFileProtectEvent

Last Updated:Jun 15, 2026

Filters and retrieves a list of rules that match the specified conditions.

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

yundun-sas:ListFileProtectEvent

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RuleName

string

No

The rule name.

test-rule-1

Status

string

No

The event status. Valid values:

  • 0: Unhandled.

  • 1: Manually handled.

  • 2: Whitelisted.

  • 3: Ignored.

2

AlertLevels

array

No

The list of alert notification levels.

integer

No

The alert notification level. Valid values:

  • 0: no alert

  • 1: reminder

  • 2: suspicious

  • 3: high-risk.

1

CurrentPage

integer

No

The page number of the current page in a paging query.

1

PageSize

string

No

The maximum number of entries to return on each page in a paging query.

20

InstanceId

string

No

The ID of the asset instance.

i-bp1g6wxdwps7s9dz****

Uuid

string

No

The UUID of the server to query.

Note

You can call the DescribeCloudCenterInstances operation to obtain this parameter.

4fe8e1cd-3c37-4851-b9de-124da32c****

InstanceName

string

No

The name of the server to query.

ca_cpm_****

InternetIp

string

No

The public IP address of the asset to query.

120.27.XX.XX

IntranetIp

string

No

The private IP address of the asset to query.

172.26.XX.XX

StartTime

integer

No

The timestamp of the start time.

1656038740435

EndTime

integer

No

The timestamp of the end time.

1683257937775

Operation

string

No

The type of operation performed on the file. Valid values:

  • DELETE: deletes the file.

  • WRITE: writes to the file.

  • READ: reads the file.

  • RENAME: renames the file.

  • CHOWN: changes the file owner and associated group.

READ

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues.

23AD0BD2-8771-5647-819E-6BA51E212F80

EventList

array<object>

The list of events.

object

The file monitoring event.

AlertLevel

integer

The alert notification level. Valid values:

  • 0: no alert

  • 1: reminder

  • 2: suspicious

  • 3: high-risk.

1

Uuid

string

The UUID of the server associated with the process.

94b44720-d982-4d20-a4e1-80a1a57b****

RuleName

string

The rule name.

test-rule-1

LatestTime

integer

The most recent time when the event occurred.

1694576692000

Status

integer

The event status. Valid values:

  • 0: Unhandled.

  • 1: Manually handled.

  • 2: Whitelisted.

  • 3: Ignored.

1

Id

integer

The event ID.

161757

InstanceName

string

The name of the server instance.

kyy-admin-01

InternetIp

string

The public IP address of the server.

121.40.XX.XX

IntranetIp

string

The private IP address of the asset.

172.22.XX.XX

FilePath

string

The file path on which the process operates.

/etc/pam.d/su

Operation

string

The operation performed by the process on the file.

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.

/usr/bin/sshpass

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:

  • windows: Windows

  • linux: Linux.

linux

PageInfo

object

The pagination information of the query result.

CurrentPage

integer

The page number of the current page in a paging query.

1

PageSize

integer

The maximum number of entries returned per page in a paging query.

20

TotalCount

integer

The total number of entries.

149

Examples

Success response

JSON format

{
  "RequestId": "23AD0BD2-8771-5647-819E-6BA51E212F80",
  "EventList": [
    {
      "AlertLevel": 1,
      "Uuid": "94b44720-d982-4d20-a4e1-80a1a57b****",
      "RuleName": "test-rule-1\n",
      "LatestTime": 1694576692000,
      "Status": 1,
      "Id": 161757,
      "InstanceName": "kyy-admin-01",
      "InternetIp": "121.40.XX.XX\n",
      "IntranetIp": "172.22.XX.XX",
      "FilePath": "/etc/pam.d/su",
      "Operation": "DELETE",
      "Remark": "test",
      "ProcPermission": "rwxr-xr-x",
      "CmdLine": "[\"touch\",\"/test/aaaa\"]",
      "ProcPath": " /usr/bin/sshpass",
      "HandleTime": 1694576692000,
      "ProcessId": "52636",
      "Platform": "linux"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 149
  }
}

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.