admin管理员组文章数量:1123106
I'm running a 19c Oracle SE2 database under Win2019 Server with active audit policies. Database is running in mixed mode so I don't change it to only use unified audit.
SELECT VALUE FROM V$OPTION WHERE PARAMETER = 'Unified Auditing';
VALUE
----------------------------------------------------------------
FALSE
My parameters are these
show parameter audit;
NAME TYPE VALUE
---------------------------- ------- ------------------
audit_file_dest string E:\ORACLE\AUDITING
audit_sys_operations boolean TRUE
audit_trail string XML, EXTENDED
unified_audit_sga_queue_size integer 1048576
unified_audit_systemlog boolean FALSE
Now I'm auditing all dml statements on schema called HK with self created policy I called "changes_on_hk". "HK" is my main application schema.
Policy is working fine because I had entries in unified_audit_trail before I switched auditing into xml files
select count(1) from unified_audit_trail where UNIFIED_AUDIT_POLICIES='CHANGES_ON_HK';
COUNT(1)
-----------
20978066
After changing audit_trail to "XML, EXTENDED" I was in hope that the audit entries for my policy also be written into xml files. So I looked all my files, but the files only have sys audit stuff.
So unified auditing can only write into database?
本文标签: oracle databaseUnified Audit policies didn39t write to xml filesStack Overflow
版权声明:本文标题:oracle database - Unified Audit policies didn't write to xml files - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736547252a1944463.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论