Updated on 2022-02-21 GMT+08:00

Auditing

Enabling CTS

If you want to collect, record, or query operation logs for API Gateway in common scenarios such as security analysis, compliance audit, resource tracing, and problem locating, enable Cloud Trace Service (CTS). For details, see chapter "Enabling CTS" in the Cloud Trace Service User Guide.

CTS provides the following functions:

  • Recording audit logs
  • Querying audit logs
  • Dumping audit logs
  • Encrypting trace files
  • Enabling notifications of key operations

Querying Audit Logs

Query audit logs by following the procedure in chapter "Querying Real-Time Traces" in the Cloud Trace Service User Guide.

Figure 1 Viewing logs

Viewing Key Operations

With CTS, you can record operations associated with API Gateway for future query, audit, and backtracking.

Disabling CTS

Disable CTS by following the procedure in chapter "Deleting a Tracker" in the Cloud Trace Service User Guide.