SQL> show parameter audit NAME TYPE VALUE ------------------------------------ ----------- ----------------------------- audit_file_dest string /u02/oracle/admin/mydb/adump audit_sys_operations boolean FALSE audit_syslog_level string audit_trail string TRUE |
AUDIT [option] [BY USER|SESSION|ACCESS] [WHENEVER {NOT} SUCCESSFUL] |
select * from dba_stmt_audit_opts where USER_NAME='...'; Note: AUDIT_OPTION: from table STMT_AUDIT_OPTION_MAP; SUCCESS: 'BY SESSION', 'BY ACCESS' or 'NOT SET' FAILURE: "" |
AUDIT [option] [BY user|SESSION|ACCESS] [WHENEVER {NOT} SUCCESSFUL] |
select * from dba_priv_audit_opts where USER_NAME='...'; Note: PRIVILEGE: from SYSTEM_PRIVILEGE_MAP SUCCESS: 'BY SESSION', 'BY ACCESS' or 'NOT SET' FAILURE: "" |
AUDIT [object_option] ON [schema].object|DEFAULT [BY SESSION|ACCESS] [WHENEVER {NOT} SUCCESSFUL] |
select * from dba_obj_audit_opts where owner='..' and OBJECT_NAME='...'; select * from all_def_audit_opts; Note: Values of columns (ALT AUD COM DEL GRA IND INS LOC REN SEL UPD REF EXE FBK REA) are X/Y: - is no option set - X is when successful - S set by session - Y is when Unsuccessful - A set by access |
Last updated: 2009-September-23, Tuesday |