检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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, track resource changes, audit compliance, and locate faults.
CREATE AUDIT POLICY Description Creates a unified audit policy. Precautions Only the user with the POLADMIN or SYSADMIN permission, or initial user has the permission to create and maintain audit policies.
=# DROP USER dev_audit; Helpful Links ALTER AUDIT POLICY and DROP AUDIT POLICY Parent topic: C
Helpful Links CREATE AUDIT POLICY and ALTER AUDIT POLICY Parent topic: SQL Syntax
Examples -- Create the adt1 policy. gaussdb=# CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Drop the audit policy adt1. gaussdb=# DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a message
Examples -- Create the adt1 policy. gaussdb=# CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Delete the audit policy adt1. gaussdb=# DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a
Helpful Links ALTER AUDIT POLICY and CREATE AUDIT POLICY Parent topic: SQL Syntax
Helpful Links CREATE AUDIT POLICY and ALTER AUDIT POLICY Parent topic: SQL Syntax
Helpful Links CREATE AUDIT POLICY and ALTER AUDIT POLICY Parent topic: SQL Syntax
DISABLE; -- Delete the adt1 audit policy. gaussdb=# DROP AUDIT POLICY adt1; Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: A
DISABLE; -- Drop the adt1 audit policy. gaussdb=# DROP AUDIT POLICY adt1; Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: A
ALTER AUDIT POLICY Function ALTER AUDIT POLICY modifies the unified audit policy. Precautions Only user poladmin, user sysadmin, or the initial user can perform this operation. The unified audit policy takes effect only after enable_security_policy is set to on.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit thread. After the audit thread is enabled, the auditing information written by the background thread can be read from the pipe and written into audit files.
Audit Switch audit_enabled Parameter description: Specifies whether to enable or disable the audit thread. After the audit thread is enabled, the auditing information written by the background thread can be read from the pipe and written into audit files.