Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Configuring unified auditing for Oracle Database

Focus mode
Configuring unified auditing for Oracle Database - Amazon Relational Database Service

When you configure unified auditing for use with database activity streams, the following situations are possible:

  • Unified auditing isn't configured for your Oracle database.

    In this case, create new policies with the CREATE AUDIT POLICY command, then activate them with the AUDIT POLICY command. The following example creates and activates a policy to monitor users with specific privileges and roles.

    CREATE AUDIT POLICY table_pol PRIVILEGES CREATE ANY TABLE, DROP ANY TABLE ROLES emp_admin, sales_admin; AUDIT POLICY table_pol;

    For complete instructions, see Configuring Audit Policies in the Oracle Database documentation.

  • Unified auditing is configured for your Oracle database.

    When you activate a database activity stream, RDS for Oracle automatically clears existing audit data. It also revokes audit trail privileges. RDS for Oracle can no longer do the following:

    • Purge unified audit trail records.

    • Add, delete, or modify the unified audit policy.

    • Update the last archived timestamp.

    Important

    We strongly recommend that you back up your audit data before activating a database activity stream.

    For a description of the UNIFIED_AUDIT_TRAIL view, see UNIFIED_AUDIT_TRAIL. If you have an account with Oracle Support, see How To Purge The UNIFIED AUDIT TRAIL.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.