Subscribe to Posts by Email

Subscriber Count

    698

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

Oracle Database Auditing in Apex Application

Hello All,

Few years back, I have been asked to deliver a dashboard which provide audit information of databases.

We don't have OEM or any other tools and that time we migrated to Cloud with standard edition only and we do not have control of database, except enable audit and review on our own.

Secondly I want to have a simple application without much hassle. So I choose Apex for rapid development of interface and some queries , that's it all done and application is ready.

The application will need this, download application file f014

  1. Install apex in any of the database and choose what method you want to access (PLSQL gateway, ORDS, REST services)
  2. Install attached application in your apex application builder, Run the application.
  3. Create a database link to the target databases or you can have that in the interface of the application
  4. View your audit records

That's it, here are the snippets and here is the application file, Below I show how to import that application too

Select the database link and table you want to, I choosed dba_common_audit_trail since if you have XML/DB/OS set for audit trail this view get populated.

The home screen contains the day wise audit records and the graphs

Download Application file from  f104 and import in your application builder

When you click on day wise record it navigates to Audit Summary Reports

Where in Audit summary report you can see multi dimensional summary by OWNER, OS HOST, RETURN CODE, OBJECT, if you click on any record type you take to next screen

In this following screen you see each record of that record type with day wise, you can apply lot of filters as well.

Lastly, you can create database links from Application itself

Finally, you can see the alerts like Login Fail Attempts and Invalid Passwords attempts.

If you are interested and having difficulties in deploying this application, shoot me an email will assist you.

-Thanks

Suresh

 

4 comments to Oracle Database Auditing in Apex Application

  • Alex

    Very cool application Suresh! Are there any tables that need to be created in APEX in order for the application to work?

  • Geek DBA

    Hi Alex

    You don’t need to create any tables. If you have your apex up and running, just import the attached application and the wizard ask you to create new schema or existing schema, you can create new schema if you want. Further for that schema provide select privilege on dba_audit_trail or dba_common_audit_trail and dba_db_links views in order to work this properly. I will update this in post as well.

    -Thanks
    Suresh

  • Akash

    Please provide the link to download the applciation

    • Geek DBA

      Hi
      Updated the Link in above post at f104.zip, further you also need to have privileges provided for dba_db_links and dba_audit_trail or dba_common_audit_trail etc.
      Suresh