LOGON success action is audited by unified audit policy ORA_LOGON_FAILURES after executing NOAUDIT & AUDIT command (Doc ID 2305054.1)
- Get link
- X
- Other Apps
In this Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.2.0.1 [Release 12.1 to 12.2]Oracle Database Cloud Schema Service - Version N/A and later Oracle Database Exadata Cloud Machine - Version N/A and later Oracle Cloud Infrastructure - Database Service - Version N/A and later Oracle Database Exadata Express Cloud Service - Version N/A and later Information in this document applies to any platform. SYMPTOMSIn unified_audit_trail, both LOGON success and failure actions are audited by unified audit policy ORA_LOGON_FAILURES SQL> select USERHOST,DBUSERNAME,AUDIT_TYPE,ACTION_NAME,CLIENT_PROGRAM_NAME,EVENT_TIMESTAMP,UNIFIED_AUDIT_POLICIES from unified_audit_trail; USERHOST DBUSERNAME AUDIT_TYPE ACTION_NAME CLIENT_PROGRAM_NAME EVENT_TIMESTAMP WORKGROUP\TACOM CCFSP111 Standard LOGON sjSPX_CmdMgr.exe 17-07-20 10:13:55.550000
CHANGESCustomer executed following statements to disable and enable audit policy ORA_LOGON_FAILURES. noaudit policy ORA_LOGON_FAILURES; audit policy ORA_LOGON_FAILURES;
CAUSEThe command of audit policy is lack of WHENEVER NOT SUCCESSFUL option, therefore audit policy of ORA_LOGON_FAILURES will audit both LOGON success and LOGON failure. SOLUTIONIn order to set ORA_LOGON_FAILURES to audit LOGON failure only, it is necessary to disable and enable ORA_LOGON_FAILURES with WHENEVER NOT SUCCESSFUL option. SQL> conn / as sysdba Noaudit succeeded. SQL> audit policy ORA_LOGON_FAILURES WHENEVER NOT SUCCESSFUL; Audit succeeded.
Check the SUCCESS and FAILURE columns in AUDIT_UNIFIED_ENABLED_POLICIES: SQL> col USER_NAME for a10 USER_NAME POLICY_NAME ENABLED_ SUCCESS FAILURE
Check the audit record in unified_audit_trail: SQL> col DBUSERNAME for a10 DBUSERNAME ACTION_NAM UNIFIED_AUDIT_POLICI RETURN_CODE
|
- Get link
- X
- Other Apps

Comments
Post a Comment