Help Center/ Scalable File Service/ User Guide/ Auditing/ Supported SFS Operations
Updated on 2024-11-29 GMT+08:00

Supported SFS Operations

Scenarios

Cloud Trace Service (CTS) records operations of SFS resources, facilitating query, audit, and backtracking.

Only SFS Turbo and SFS Capacity-Oriented file systems support recording of resource operations using CTS. General purpose file systems do not support this function.

Prerequisites

You have enabled CTS and the tracker is normal. For details about how to enable CTS, see section Enabling CTS in the Cloud Trace Service Getting Started.

Operations

Table 1 SFS Capacity-Oriented operations traced by CTS

Operation

Resource Type

Trace

Creating a shared file system

sfs

createShare

Modifying a shared file system

sfs

updateShareInfo

Deleting a shared file system

sfs

deleteShare

Adding a share access rule

sfs

addShareACL

Deleting a share access rule

sfs

deleteShareACL

Expanding a shared file system

sfs

extendShare

Shrinking a shared file system

sfs

shrinkShare

Table 2 SFS Turbo operations traced by CTS

Operation

Resource Type

Trace

Creating a file system

sfs_turbo

createShare

Deleting a file system

sfs_turbo

deleteShare

Querying Traces

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Choose Management & Governance > Cloud Trace Service.

    The Cloud Trace Service page is displayed.

  4. In the navigation pane on the left, choose Trace List.
  5. On the trace list page, set Trace Source, Resource Type, and Search By, and click Query to query the specified traces.

    For details about other operations, see section "Querying Real-Time Traces" in the Cloud Trace Service User Guide.

Disabling or Enabling a Tracker

This section describes how to disable an existing tracker on the CTS console. After the tracker is disabled, the system will stop recording operations, but you can still view existing operation records.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Choose Management & Governance > Cloud Trace Service.

    The Cloud Trace Service page is displayed.

  4. Click Trackers in the left pane.
  5. Click Disable on the right of the tracker information.
  6. Click Yes.
  7. After the tracker is disabled, the available operation changes from Disable to Enable. To enable the tracker again, click Enable and then click Yes. The system will start recording operations again.