如何查看windows server是否开启审计功能
发布网友
发布时间:2022-04-28 11:31
我来回答
共1个回答
热心网友
时间:2023-10-05 14:50
show parameter audit_trail
查看audit_trail的值,如果值是"none"表示没有开审计,否则就开了。
不同的值代表不同的意思(下面是10g的):
none:
Disables database auditing.
os:
Enables database auditing and directs all audit records to the operating system's audit trail.
db:
Enables database auditing and directs all audit records to the database audit trail (the SYS.AUD$ table).
db,extended:
Enables database auditing and directs all audit records to the database audit trail (the SYS.AUD$ table). In addition, populates the SQLBIND and SQLTEXT CLOB columns of the SYS.AUD$ table.
xml:
Enables database auditing and writes all audit records to XML format OS files.
xml,extended:
Enables database auditing and prints all columns of the audit trail, including SqlText and SqlBind values.