检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Exporting Audit Records The export function allows you to filter data in the audit list and export it to a CSV file in asynchronous mode. That is, you need to save the file to OBS and then download it to a local PC. Log in to the Huawei Cloud console.
Parent topic: Audit Logs
Querying Audit Log Operators Function This API is used to query audit log operators. API Calling For details, see Calling APIs. URI GET /v3/{project_id}/user-resources Table 1 Path parameter Parameter Mandatory Type Description project_id Yes String Project ID.
Table 3 audit_logs description Name Type Description node_id String The node ID. id String The audit log ID. name String The audit log file name. size Long The size of the audit log in byte. start_time String The start time of the audit log. The format is "yyyy-mm-ddThh:mm:ssZ".
The value is 0 when SQL audit is disabled. audit_scope String The audit scope. audit_types Array of strings The audit type.
How Do I Configure Database Audit? After purchasing a database audit instance, you need to add the database to be audited to the instance and install an agent on the database, application, or proxy side.
Figure 1 Setting SQL audit To disable SQL audit, toggle off the Audit Logging switch, select the confirmation check box, and click OK. After SQL audit is disabled, all audit logs will be deleted immediately and cannot be recovered.
Figure 1 Setting SQL audit To disable SQL audit, toggle off the Audit Logging switch, select the confirmation check box, and click OK. After SQL audit is disabled, all audit logs will be deleted immediately and cannot be recovered.
How Does Database Audit Process Logs? Database audit logs are stored in a log database and processed based on disk usage.
audit logs will be reserved for some time when SQL audit is disabled. false: indicates that historical audit logs will be deleted immediately when SQL audit is disabled. audit_types No Array of strings This parameter applies only to RDS for MySQL.
How Do I Renew Database Audit? You can renew database audit instances before they expire.
Viewing Audit Logs of a DCS Redis Instance Command audit logs on the DCS console record client operations on DCS. The storage, query, and analysis of audit logs are provided by Log Tank Service (LTS).
Can the Operation Logs of Database Audit Be Migrated? No. Database audit does not support migrating database operation logs. You can view the operation logs of database audit. For details, see How Long Are the Operation Logs of Database Audit Saved by Default? Parent topic: Logs
Parent Topic: Log Audit
Audit logs are generated for communication among tools or nodes in the database server. To save space occupied by audit logs and improve the query performance of audit logs, the low-risk scenarios cannot be audited by configuring the no_audit_client parameter.
User and Permission Audit audit_login_logout Parameter description: Specifies whether to audit the GaussDB user's login (including login success and failure) and logout. This is a SIGHUP parameter. Set it based on instructions in Table 1.
User and Permission Audit audit_login_logout Parameter description: Specifies whether to audit the GaussDB user's login (including login success and failure) and logout. This is a SIGHUP parameter. Set it based on instructions provided in Table 1.
Audit logs are generated for communication among tools or nodes in the database server. To save space occupied by audit logs and improve the query performance of audit logs, the low-risk scenarios cannot be audited by configuring the no_audit_client parameter.
Setting suggestion: Retain the default value to save space occupied by audit logs and improve audit log query performance.
that historical audit logs are retained when SQL audit is disabled. false: indicates that existing historical audit logs are deleted when SQL audit is disabled. audit_scope String No This parameter is valid only when the audit log policy is enabled.