Updated on 2023-11-03 GMT+08:00

Audit Logs

Introduction

You can use Cloud Trace Service (CTS) to record key operation events related to MAS. The events can be used in various scenarios such as security analysis, compliance audit, resource tracing, and problem locating.

After you enable CTS, the system starts to record MAS operations. CTS stores operation records from the last seven days.

Enabling CTS

For details about how to enable CTS, see Enabling CTS.

After CTS is enabled, if you want to view MAS operation events, see Querying Real-Time Traces.

MAS Operations Supported by CTS

Table 1 MAS operations that can be supported by CTS.

Operation

Resource Type

Trace Name

Creating a Namespace

namespace

createNamespace

Modifying a Namespace

namespace

updateNameSpace

Deleting a Namespace

namespace

deleteNameSpace

Creating a Data Source

dataSource

createDataSource

Editing a Data Source

dataSource

updateDataSource

Deleting a Data Source

dataSource

deleteDataSource

Creating a Sync Link

dataSync

createDataSyncTask

Deleting a Sync Link

dataSync

deleteDataSyncTask

Create Instance

instance

createInstance

Deploying an Instance

instance

deployInstance

Deleting an Instance

instance

deleteInstance

Upgrading an Instance

instance

internalUpgradeInstance

Creating an Application

application

createApplication

Updating an Application

application

updateApplication

Deleting an Application

application

deleteApplication

Deleting Monitors

application

batchSwitchMonitor

Creating a Monitor

monitor

createMonitor

Updating a Monitor

monitor

updateMonitor

Deleting a Monitor

monitor

deleteMonitor

Configuring Global Settings

monitor

setMonitorGlobalConfig

Switching Over Monitors

monitor

switchMonitor

Creating a Connection Pool

monitor

createDBConnectionPool

Updating a Connection Pool

monitor

updateDBConnectionPool

Resetting Equipment Room Monitoring

dcmonitor

resetDcMonitor

Creating a Notification

globalConf

setNotify

Adding a Secret

secret

setSecret