检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Viewing Audit Logs Scenarios Operations performed in the last seven days are recorded by CTS. This section describes how to view the operation records on the CTS console. Procedure Log in to the management console.
Viewing Audit Logs After you enable CTS, the system starts recording operations on CGS. Operation records generated during the last seven days can be viewed on the CTS console. Viewing a CGS Trace on the CTS Console Log in to the management console.
Viewing Audit Logs After you enable CTS, it starts recording operations on ESM. CTS stores operation records for the last seven days. This section describes how to view the operation records on the CTS console. Procedure Log in to the management console.
Range N/A Table 3 auditlogs field data structure description Parameter Type Description id String Definition Indicates the audit log ID. For the SQL Server engine, the ID is the audit log file name. Range N/A name String Definition Indicates the audit log file name.
The operator, type, and information about audit logs are displayed. Figure 1 Viewing audit logs Parent topic: Audit Logs
What Are the Functions of Database Audit? Database audit is deployed in out-of-path pattern and can perform flexible audit on databases built on ECS, BMS, and RDS without affecting services.
Parent topic: Using CTS to Audit ModelArts Standard
The default value is on, indicating that the audit function is enabled. In addition to the overall audit configuration, each audit item can be independently configured. The function of each audit item takes effect only after the configuration is enabled.
Bit 9 Whether to audit the CREATE, DROP, and ALTER operations on resource pools.
Operation Audit audit_system_object Parameter description: Specifies whether to audit the CREATE, DROP, and ALTER operations on database objects. Database objects include databases, users, schemas, and tables.
Adding an Audit Database Agent Function Adding an Audit Database Agent URI POST /v3/{project_id}/audit/{instance_id}/agents Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Definition: Project ID You can obtain the value by calling the IAM API for
SQL Audit Errors UGO.10100001 The SQL text file is too large UGO.10100002 Password encryption or decryption error UGO.10100005 The parameter is incorrect UGO.10100006 The audit task queue is full UGO.10100007 The number of rule templates has reached the limit UGO.10100008 Incorrect
For details about how to enable the cloud audit service, see Enabling CTS.
Querying Audit SQL Statements Function Querying Audit SQL Statements URI POST /v2/{project_id}/audit/{instance_id}/sqls Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String ** Parameter description**: Specifies the project ID.
Figure 1 RDS for PostgreSQL audit logs Table 1 Audit log field description Field Description AUDIT: Fixed prefix, which identifies an audit record. AUDIT_TYPE Audit type. The value can be SESSION, OBJECT, or CLIENT_AUTHENTICATION.
Downloading SQL Audit Logs If you enable SQL audit, all SQL operations will be logged, and you can download audit logs to view details. The minimum time unit of audit logs is second. By default, SQL audit is disabled. Enabling this function may affect database performance.
Querying Audit Logs AAD Operations Supported by CTS Viewing CTS Traces Parent Topic: Advanced Anti-DDoS User Guide
Viewing RabbitMQ Audit Logs With Cloud Trace Service (CTS), you can record operations associated with DMS for RabbitMQ for later query, audit, and backtrack operations. Prerequisite CTS has been enabled.
Querying Audit Alarm Information Function Querying Audit Alarm Information URI POST /v2/{project_id}/audit/{instance_id}/alarm-log Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String ** Parameter description**: Specifies the project ID.
Parent topic: Audit Instance