If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > auditing DBAs activities

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-04, 06:22
kirna kirna is offline
Registered User
 
Join Date: Feb 2004
Location: Germany
Posts: 15
auditing DBAs activities

Hi,

is there any possibility to audit db admin activities for a DB2 7.2 fixpack 6? i mean such table actions like insert, update, delete as well as select. i cannot use the db2 audit tool, since this tool by definition not report those actions for users with such authorization. I though about trigger, unfortunately trigger not cover select actions.

i'd be very gratefull for any help

wbr
Reply With Quote
  #2 (permalink)  
Old 02-17-04, 07:05
jsander jsander is offline
Registered User
 
Join Date: Apr 2003
Posts: 191
Re: auditing DBAs activities

Hi,

this is a tough one. You have got two options, none particularly appealing:

1) A statement event monitor
2) Hide away the tables and access them through user defined functions only (for select). The udfs would need to keep track of their actions. You will probably need application support for this, because you cannot reliably ask DB2 sql for user ids, even CURRENT USER won't work for this.

Johann

Quote:
Originally posted by kirna
Hi,

is there any possibility to audit db admin activities for a DB2 7.2 fixpack 6? i mean such table actions like insert, update, delete as well as select. i cannot use the db2 audit tool, since this tool by definition not report those actions for users with such authorization. I though about trigger, unfortunately trigger not cover select actions.

i'd be very gratefull for any help

wbr
Reply With Quote
  #3 (permalink)  
Old 02-17-04, 07:52
kirna kirna is offline
Registered User
 
Join Date: Feb 2004
Location: Germany
Posts: 15
Re: auditing DBAs activities

Hi Johann,

thanks for the suggestion.

kirna

Quote:
Originally posted by jsander
Hi,

this is a tough one. You have got two options, none particularly appealing:

1) A statement event monitor
2) Hide away the tables and access them through user defined functions only (for select). The udfs would need to keep track of their actions. You will probably need application support for this, because you cannot reliably ask DB2 sql for user ids, even CURRENT USER won't work for this.

Johann
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On