All Products
Search
Document Center

Security Center:GetFileProtectEvent

Last Updated:Sep 17, 2026

Retrieves the details of a core file monitoring event.

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:GetFileProtectEvent

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Id

integer

No

The event ID.

This parameter is required. If this parameter is not specified, the API returns HTTP 400 with error code -101. You can call ListFileProtectEvent to obtain valid event IDs.

12

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

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

0B48AB3C-84FC-424D-A01D-B9270EF46038

Data

object

The returned data details.

Uuid

string

The UUID of the asset instance.

49f1360f-62c8-4b48-a24c-5cc317656419

RuleName

string

The rule name.

test-000

FirstTime

integer

The timestamp when the event first occurred.

1694576692000

LatestTime

integer

The timestamp when the event most recently occurred. The value is a UNIX timestamp. Unit: milliseconds.

1694576692000

Status

integer

The event status. Valid values:

  • 0: Unhandled.

  • 1: Manually handled.

  • 2: Whitelisted.

  • 3: Ignored.

Valid values:

  • 0 :

    Unhandled.

  • 1 :

    Manually handled.

  • 2 :

    Whitelisted.

1

ProcPath

string

The process path.

/bin/bash33

FilePath

string

The file path.

/usr/local

CmdLine

string

The event command line.

["touch","/usr/local/aaaa"]

FilePermission

string

The process permissions.

rwxr-xr-x

Operation

string

The operation performed by the process on the file.

DELETE

Id

integer

The unique ID.

55037

AlertLevel

integer

The alert notification level. Valid values:

  • 0: No alert.

  • 1: Reminder.

  • 2: Suspicious.

  • 3: High-risk.

Valid values:

  • 0 :

    No alert.

  • 1 :

    Reminder.

  • 2 :

    Suspicious.

  • 3 :

    High-risk.

1

InstanceName

string

The instance name.

i-wz92q7m5hsbgfhdss***

InternetIp

string

The public IP address of the associated instance.

172.16.XX.XX

IntranetIp

string

The private IP address of the associated instance.

10.42.XX.XX

HandleTime

integer

The time when the event was handled. The value is a UNIX timestamp. Unit: milliseconds.

1694576692000

Remark

string

The remarks.

["test"]

ProcessId

string

The process ID of the event.

3453

Platform

string

The operating system type. Valid values:

  • windows: Windows.

  • linux: Linux.

linux

UserId

string

The user ID that started the current process.

1001

UserName

string

The username that started the current process.

test

Examples

Success response

JSON format

{
  "RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
  "Data": {
    "Uuid": "49f1360f-62c8-4b48-a24c-5cc317656419",
    "RuleName": "test-000",
    "FirstTime": 1694576692000,
    "LatestTime": 1694576692000,
    "Status": 1,
    "ProcPath": "/bin/bash33",
    "FilePath": "/usr/local",
    "CmdLine": "[\"touch\",\"/usr/local/aaaa\"]",
    "FilePermission": "rwxr-xr-x",
    "Operation": "DELETE",
    "Id": 55037,
    "AlertLevel": 1,
    "InstanceName": "i-wz92q7m5hsbgfhdss***",
    "InternetIp": "172.16.XX.XX",
    "IntranetIp": "10.42.XX.XX",
    "HandleTime": 1694576692000,
    "Remark": "[\"test\"]",
    "ProcessId": "3453",
    "Platform": "linux",
    "UserId": "1001",
    "UserName": "test"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 ServerError ServerError
403 NoPermission caller has no permission You are not authorized to do this operation.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.