{"id":263,"date":"2014-05-02T00:15:19","date_gmt":"2014-05-02T05:15:19","guid":{"rendered":"https:\/\/bijoos.com\/oraclenotes\/?p=263"},"modified":"2026-02-07T15:34:45","modified_gmt":"2026-02-07T21:34:45","slug":"oracledb12c-new-feature-unified-auditing","status":"publish","type":"post","link":"https:\/\/bijoos.com\/oraclenotes\/2014\/263\/","title":{"rendered":"OracleDB12c New Feature: Unified Auditing"},"content":{"rendered":"<p>Unified Auditing is a new feature introduced in Oracle Database 12c, to streamline and standardize all audit trail information.\u00a0The traditional auditing architectures involve many audit-trail locations and tables to review information for the auditors, and do not follow a standard. Every new product introduced in the database had to essentially have a new audit table because the AUD$ table is limited. The Oracle Unified Audit feature introduced in Oracle Database 12c addresses these issues and gives a standard interface and single location for the audit trail.<\/p>\n<p><span style=\"font-size: 14px; line-height: 1.5em;\">Unified Auditing is a database option and is not enabled by default. The following query shows if Unified Auditing is enabled or not.<\/span><\/p>\n<pre class=\"lang:default highlight:0 decode:true\">SQL&gt; SELECT VALUE FROM V$OPTION\n\u00a0\u00a0\u00a0\u00a0 WHERE PARAMETER = 'Unified Auditing';\n\nVALUE\n----------\nFALSE<\/pre>\n<p>To enable Unified Auditing, shut down the database and listener, and then relink the oracle executable using the following options:<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">cd $ORACLE_HOME\u00a0\/rdbms\/lib\n\nmake -f ins_rdbms.mk uniaud_on ioracle ORACLE_HOME=$ORACLE_HOME<\/pre>\n<p>Unified Auditing is managed by creating and enabling audit policies. Unified audit-trail records can be read using the UNIFIED_AUDIT_TRAIL view. This view includes audit records from standard and fine-grained auditing, along with auditing of data pump, SQL loader, database vault, label security, recovery manager, and real application security products.<\/p>\n<p>Oracle Database 12c has two roles to support Unified Auditing. The AUDIT_ADMIN role has privileges to create, alter, and drop audit policies. It also has privileges to enable or disable audit policies for each business requirement, to view audit records, and to clean up the audit trail. The AUDIT_VIEWER role is for users who only need to view the audit-trail contents. Unified Auditing is owned by AUDSYS user, not SYS user.<\/p>\n<p>Privilege auditing in traditional auditing has to be enabled by setting the AUDIT_SYS_OPERATIONS=true. The audit records are written to operating system files. With Unified Auditing, privilege audit is enabled by default and can be queried using the same UNIFIED_AUDIT_TRAIL view. In a unified audit database, the following actions are audited mandatory without any policy:<\/p>\n<ul>\n<li>CREATE AUDIT POLICY<\/li>\n<li>ALTER AUDIT POLICY<\/li>\n<li>DROP AUDIT POLICY<\/li>\n<li>AUDIT<\/li>\n<li>NOAUDIT<\/li>\n<li>EXECUTE of DBMS_FGA<\/li>\n<li>EXECUTE of DBMS_AUDIT_MGMT<\/li>\n<\/ul>\n<p>Read more at<br \/>\n<a href=\"http:\/\/docs.oracle.com\/cd\/E16655_01\/network.121\/e17607\/audit_admin.htm#DBSEG1026\">http:\/\/docs.oracle.com\/cd\/E16655_01\/network.121\/e17607\/audit_admin.htm#DBSEG1026<\/a><\/p>\n<p><a href=\"http:\/\/docs.oracle.com\/cd\/E16655_01\/server.121\/e17609\/tdpsg_auditing.htm#TDPSG50000\">http:\/\/docs.oracle.com\/cd\/E16655_01\/server.121\/e17609\/tdpsg_auditing.htm#TDPSG50000<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unified Auditing is a new feature introduced in Oracle Database 12c, to streamline and standardize all audit trail information.\u00a0The traditional auditing architectures involve many audit-trail locations and tables to review information for the auditors, and do not follow a standard. Every new product introduced in the database had to essentially have a new audit table &#8230; <a title=\"OracleDB12c New Feature: Unified Auditing\" class=\"read-more\" href=\"https:\/\/bijoos.com\/oraclenotes\/2014\/263\/\" aria-label=\"Read more about OracleDB12c New Feature: Unified Auditing\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[133],"tags":[],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-oracledb"],"acf":[],"jetpack-related-posts":[{"id":1497,"url":"https:\/\/bijoos.com\/oraclenotes\/2015\/1497\/","url_meta":{"origin":263,"position":0},"title":"Oracle Tidbits &#8211; January 2015","author":"Biju","date":"February 1, 2015","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on weekdays\u00a0in January 2015. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2101,"url":"https:\/\/bijoos.com\/oraclenotes\/2017\/2101\/","url_meta":{"origin":263,"position":1},"title":"ODC Appreciation Day: Two Cool 12c Security Features #ThanksODC #ThanksOTN","author":"Biju","date":"October 10, 2017","format":false,"excerpt":"There are quite a lot of new features in the 12c database that I like and have discussed and talked about them at various events. On this #ThanksODC day, I would like to take the opportunity to thank Oracle Technology Network (or Oracle Developer Community) and Oracle ACE Program for\u2026","rel":"","context":"In &quot;Oracle Database&quot;","block_context":{"text":"Oracle Database","link":"https:\/\/bijoos.com\/oraclenotes\/category\/oracledb\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2017\/10\/ODC-300x117.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":145,"url":"https:\/\/bijoos.com\/oraclenotes\/2013\/145\/","url_meta":{"origin":263,"position":2},"title":"OracleDB12c New Feature: Added Administrative Privileges","author":"Biju","date":"July 7, 2013","format":false,"excerpt":"Oracle11g Grid Infrastructure introduced SYSASM administrative privilege, in 12c we have 3 more administrative privileges... SYSBACKUP, SYSDG, SYSKM. SYSDBA, SYSOPER and SYSASM privileges and behavior are similar to 11gR2 in 12c database as well. SYSBACKUP administrative privilege has ability to perform RMAN backup and recovery operations, database startup and shutdown.\u2026","rel":"","context":"In &quot;Oracle Database&quot;","block_context":{"text":"Oracle Database","link":"https:\/\/bijoos.com\/oraclenotes\/category\/oracledb\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1695,"url":"https:\/\/bijoos.com\/oraclenotes\/2016\/1695\/","url_meta":{"origin":263,"position":3},"title":"Oracle Daily Tidbits &#8211; April 2016","author":"Biju","date":"May 1, 2016","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on weekdays\u00a0in April\u00a02016. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and use...\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1446,"url":"https:\/\/bijoos.com\/oraclenotes\/2014\/1446\/","url_meta":{"origin":263,"position":4},"title":"Oracle Tidbits &#8211; September 2014","author":"Biju","date":"October 1, 2014","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on all weekdays\u00a0in September\u00a02014. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and use\u2026\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1781,"url":"https:\/\/bijoos.com\/oraclenotes\/2016\/1781\/","url_meta":{"origin":263,"position":5},"title":"Oracle Tidbits &#8211;  November 2016 #oratidbit","author":"Biju","date":"December 2, 2016","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on weekdays\u00a0in November 2016. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"Oracle TidBit","src":"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2014\/05\/TidBit.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":1,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":3023,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/263\/revisions\/3023"}],"wp:attachment":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}