Updated on 2022-11-15 GMT+08:00

Audit and Logs

Audit

Cloud Trace Service (CTS) records operations on the cloud resources in your account. You can use the logs generated by CTS to perform security analysis, trace resource changes, audit compliance, and locate faults.

After you enable CTS, it starts recording operations on APIG resources and stores the operation records of the last seven days. For details about the APIG operations that can be recorded by CTS, see APIG Operations Recorded by CTS.

Figure 1 CTS

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

For details about how to view CTS logs, see Querying Audit Logs.

Logs

APIG supports custom log analysis templates, which you can use to collect and manage logs and trace and analyze API request exceptions.

For details about how to configure APIG log collection, see Log Analysis.