云数据库 GAUSSDB-ALTER AUDIT POLICY:语法格式

时间:2024-11-02 18:48:23

语法格式

ALTER AUDIT POLICY [ IF EXISTS ] policy_name { ADD | REMOVE } { [ privilege_audit_clause ] [ access_audit_clause ] };
ALTER AUDIT POLICY [ IF EXISTS ] policy_name MODIFY ( filter_group_clause );
ALTER AUDIT POLICY [ IF EXISTS ] policy_name DROP FILTER; 
ALTER AUDIT POLICY [ IF EXISTS ] policy_name COMMENTS policy_comments;
ALTER AUDIT POLICY [ IF EXISTS ] policy_name { ENABLE | DISABLE };
  • privilege_audit_clause:
    1
    PRIVILEGES { DDL | ALL }
    
  • access_audit_clause:
    AC CES S { DML | ALL }
support.huaweicloud.com/distributed-devg-v2-gaussdb/gaussdb_v5r2c10_0446.html