Updated on 2023-08-04 GMT+08:00

Auditing

Scenarios

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

Prerequisites

Operations

Table 1 SFS 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

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 & Deployment > 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. Choose > Cloud Trace Service.

    The Cloud Trace Service page is displayed.

  3. Click Trackers in the left pane.
  4. Click Disable on the right of the tracker information.
  5. Click Yes.
  6. 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.