Top Banner
DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which is included with DB Tools for Oracle version 4.0 and later. To learn more about DB Audit for version 2 (for Oracle, Sybase, Microsoft SQL Server and DB2) please visit DB Audit home page
33

DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Dec 23, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

DB Audit Expert v1.1for Oracle

Copyright © 1999-2002 SoftTree Technologies, Inc.

This presentation is for DB Audit Expert for Oracle version 1.1 which is included with DB Tools for Oracle version 4.0 and later.

To learn more about DB Audit for version 2 (for Oracle, Sybase, Microsoft SQL Server and DB2) please visit DB Audit home page

Page 2: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Mission Statement

Oracle Server supports basic functions for database operations auditing. However, this auditing covers only system and user activity and does not cover data change auditing. There are no GUI tools available from Oracle to provide easy interface for setting audit options and reviewing results of the audit.

DB Audit offers comprehensive Oracle database auditing:- DB Audit provides methods and tools for data change auditing. - DB Audit provides an easy-to-use GUI for system access and user activity auditing.

Page 3: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Part I

System and user activity auditing

Page 4: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Start DB Audit and connect to database

Page 5: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

System audit options

Note: To get brief description of every menu item simply highlight it then look in the status bar at the bottom of DB Audit screen.

Page 6: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

System Audit Options Dialog

Notes: This dialog has two tabs. One tab is used for setting system audit options for SQL statements, and another tab is used for various schema objects. The dialog provides complete instructions for setting system audit options. To enable system auditing you must set audit_trail = true in the INIT.ORA file. To view the results of auditing you can use reports from the Report menu.

Page 7: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Volume of audit trail data can grow very fast. That’s why from time to time you may want to purge the data and/or archive it to some history table or file before purging.

Page 8: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Archiving to a table

Notes: Type name of a new table to which audit trail will be copied or select name of an existing table. If the chosen table does not exists DB Audit will create it and copy audit trail data, otherwise the audit data will be appended to the table.

Similarly you can export audit trail records to an external tab-delimited file. Use Export to File menu for this operation.

Page 9: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

To check enabled system audit options

Notes: See next slide for details

Page 10: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Enabled Statements Audit (Example Report)

Page 11: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s setup some system audit options for user DEMO

Page 12: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

(continued)

Page 13: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s pretend we are user DEMO performing some operations in the database

Page 14: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s see how the auditing works. Let’s run Audit Report by User Session.

Page 15: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

(continued)

Page 16: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Now let’s run Auditing Report by Object Access.

Page 17: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Reporting options

Notes: Volume of audit trail data can be very large, that’s why for every report DB Audit provides simple filtering options that you can use to narrow the report output. If you don’t specify any options the DB Audit will display everything that is available in the system audit trail.

Page 18: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Part II

Data change auditing.

Page 19: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Q: How does DB Audit know when your data has been changed?

A: DB Audit installs triggers on the tables you select to audit. Triggers are events that automatically execute every time a row in a given table is inserted, updated,

or deleted.

Page 20: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

DB Audit automatically builds necessary triggers and “mirror” audit tables for intelligent data auditing without requiring from user to know what objects are used internally to perform the auditing functions.

Page 21: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s setup data auditing for several DEMO tables

Page 22: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Generated Objects

Page 23: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

(continued)

Page 24: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s pretend we are user DEMO making some data changes in the database

Page 25: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s run the Data Change Audit report

Page 26: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

(continued)

Notes: DB Audit shows the Select Table dialog that lists only tables being audited. You can select the desired table and then click OK to proceed.

Page 27: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Here is the report

•For DELETE, type is always OLD•For INSERT, type is always NEW•For UPDATE, there are always two rows one having type OLD and another having type NEW

Page 28: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Let’s check another table

Notes: For DELETE operations DB Audit captures and saves complete deleted rows, for INSERT it saves complete inserted rows, and for UPDATE, it saves both old and new rows no matter how many columns were affected by the UPDATE. A “mirror” table has the same set of columns as the audited table plus some additional columns for storing information about who and when made the change.

•For DELETE, type is always OLD•For INSERT, type is always NEW•For UPDATE, there are always two rows one having type OLD and another having type NEW

Page 29: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

As you could see DB Audit makes data change auditing even simpler than 1,2,3. It features only 2 steps: 1st step is to select the desired tables for auditing2nd step is to review the data change report. You don’t even need to know the SQL to setup and use these powerful features.

Page 30: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

You purge, export, and archive data audit trail exactly as you do it for the system audit trail. The only exception is that system audit trail is stored in a single table and the data audit trail is stored in as many tables as many tables were selected for the auditing. Again, these operations are optional and you usually perform them if you want to free some space in the database.

For more details please see slides in the beginning of this presentation.

Page 31: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

Here are other options for viewing and manipulating report data

Page 32: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

For more details on the available system audit options please see your Oracle Administration Guide. For more details on using DB Audit please see the DB Audit help system.

Page 33: DB Audit Expert v1.1 for Oracle Copyright © 1999-2002 SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.

The End