Database Administration (MOSC)

MOSC Banner

Auditing in pluggable database

edited Jul 4, 2018 1:30PM in Database Administration (MOSC) 7 commentsAnswered

Hi All,

As part of a hardening of database according to CIS Benchmark for Oracle 12c (I'm checking it on DEV environment before applying it on PROD environment ), I ran the following command in pluggable database

SQL> AUDIT ALL ON SYS.AUD$ BY ACCESS;

and I received an error message:

ERROR at line 1:

ORA-65040: operation not allowed from within a pluggable database

Also, the following query doesn't returns any rows:

SELECT *

FROM DBA_OBJ_AUDIT_OPTS

WHERE OBJECT_NAME='AUD$';

In the root database the audit command was run successfully.

As I know, every pluggable database has his own audit_trail table.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center