QuestionQ127

VerifiedManage Security

You want to enable an audit policy for every database user except sys, system, and scott. You issue these statements:

SQL> AUDIT POLICY ORA_DATABASE_PARAMETER EXCEPT SYS;  
SQL> AUDIT POLICY ORA_DATABASE_PARAMETER EXCEPT SYSTEM;  
SQL> AUDIT POLICY ORA_DATABASE_PARAMETER EXCEPT SCOTT;  

For which database users is the audit policy now enabled?

Explanation

For a unified audit policy, multiple AUDIT POLICY ... EXCEPT statements do not accumulate excluded users. Only the most recently specified EXCEPT statement takes effect, enabling the policy for all users other than SCOTT.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!