Download presentation
Presentation is loading. Please wait.
Published byAbel Poole Modified over 6 years ago
1
USING ORACLE TO CREATE AUDIT TRAILS FOR PART 11 COMPLIANCE
Dr Peter Smith Project Director WYETH RESEARCH IS 11/7/2018
2
AGENDA REVIEW OF PART 11 AUDITING FUNCTIONALITY WRAPPER FUNCTIONALITY
11/7/2018
3
21 CFR PART 11 SUMMARY FDA Regulation as of April, 1997 on Electronic Records and Electronic Signatures Intent to ensure Electronic Records have the validity of Paper Records Part 11 is a sound regulation – we want to use electronic records Short regulation – major impact Revised Guidelines as of Feb. 2003 Emphasis on Risk Assessment New guidelines provide a sensible relief from extreme interpretations But the law has not changed! 11/7/2018
4
EXPERIENCE SHOWS Manual systems cannot be validated.
Data integrity requires administrative controls and redundant checking and detailed reviews. If it is not documented, it was not done. If you cannot prove it was done by a trained analyst using the approved procedure it was not done right. 11/7/2018
5
REQUIREMENTS OF PART 11 Electronic Records are secure
Auditing of who, when, what, why any changes to the record are made Electronic signatures are authenticated The person making the entry is who they say they are 11/7/2018
6
THE AUDIT TRAIL To assure that any record cannot be changed without recording Who makes the change When the change was made What the new value is and what the old one was Why the change was made It’s a Good Lab. Practice requirement, not directly Part 11 21 CFR (e) 11/7/2018
7
HOW TO IMPLEMENT AN AUDIT TRAIL IN ORACLE?
Standard Oracle auditing Serves different purpose Oracle 9i provides new fine-grained auditing => audit policies => Selective Audit product Not Part 11 specific however Any good Oracle programmer can implement via Triggers and good design The details make the case 11/7/2018
8
AT WYETH We wanted a Part 11 Audit tool which
Is certified by our Part 11 PMO Is of General utility We have written a globally-available, generic set of scripts that create the audit tables and business table triggers Will provide the flexibility to match different database designs Can be applied Retrospectively 11/7/2018
9
TWO MAIN MODELS FOR A GENERIC AUDIT TRAIL (GAT)
Column based, recording each change to a “cell” (column) E.g. change in three cells => three records in the audit database Row-based, recording each record as it is changed E.g. change in three cells in one source table row => one record in the audit database 11/7/2018
10
EXAMPLE OF COLUMN-BASED GAT
Source tables Old + New values RECORD 1 Trigger on INSERT UPDATE DELETE RECORD 2 AUDIT table with audit columns e.g. time stamp RECORD 3 UPSERTS? 11/7/2018
11
EXAMPLE OF ROW-BASED GAT
Source table New value RECORD 1 Old RECORD 1 New RECORD 1 Trigger on INSERT UPDATE DELETE SHADOW table with audit columns e.g. time stamp 11/7/2018
12
Empdept example Primary key change => automatically triggers both I and D 11/7/2018
13
AUDIT TABLE SHOWS INSERTIONS
No reason for insert necessary Primary key change => automatically triggers both I and D AUDIT TABLE SHOWS INSERTIONS 11/7/2018
14
Primary key change => automatically triggers both I and D
Making changes 11/7/2018
15
Primary key change => automatically triggers both I and D
11/7/2018
16
THREE VARIATIONS OF ROW-BASED GAT
Source table includes audit fields High overhead Referential integrity issues But good for snapshots/history Shadow Table includes all U, I, D changes Comprehensive auditing Need report or view to show history Shadow Table only records U, D Audit table divided between source and shadow Used when there are many inserts, few changes 11/7/2018
17
STRENGTHS Both approaches can be used at the same time Row based
Easy to track record history But hard to know what changed Concise audit tables Each schema has its own audit tables Best for point-in-time queries (e.g. research results) Column Based One audit table for several schemas Easily identifies which cell has changed But hard to reconstruct record We wrote a reporting procedure to address this Best for value-sensitive data (e.g. bank balances) Both approaches can be used at the same time 11/7/2018
18
REMOTE USERS How to utilize Oracle security for pooled user accounts?
Necessary to exploit mid-tier architectures 11/7/2018
19
11/7/2018 MIDDLEWARE BADBOY DATABASE Source TABLE
SET REMOTE USER ( JoeS) Audit Package JoeS UPDATE Mid-tier security Optional Mid-tier authentication against Oracle JoeS + GMT +… Table security Log into mid-tier JoeS TRIGGERS Shadow Audit TABLE 11/7/2018
20
GMT In order to track the sequence of changes, need one time standard => GMT We developed a Java module which computes GMT From the (Unix) System time-zone Plus conversion offset to GMT Oracle 9i includes this 11/7/2018
21
WRAPPER SOLUTIONS How to secure data collected and analyzed before entry to Oracle? EXCEL is widely used E.g. Instrument =>EXCEL=>Oracle Industry response is via Wrapper solutions Intercept the data before it reaches EXCEL, audit all transactions thereafter. 11/7/2018
22
EXAMPLE 11/7/2018 EXCEL Supervisor/control/admin
Database => results + Audit trail 11/7/2018
23
SEVERAL VENDORS For data: It’s not what you do, it’s how you do it
Nugenesis, Velquest, Automsoft, Stelex, SSI-Cyberlab, Cincom It’s not what you do, it’s how you do it Usability, non-intrusiveness 11/7/2018
24
If We Do Wrappers Right:
Paperless - Paper notebooks and data sheets replaced by electronic data. Authenticated Analysts - All electronic data from authenticated analysts using validated sources through validated connections. Part 11 Compliant - Electronic records stored in secure 21 CFR Part 11 compliant repository. Automated Verification - Verify that trained analysts, calibrated instruments, current analytical test methods and approved supplies perform the work. Dynamic Linking - Data and metadata dynamically linked in fully relational form to permit rapid review of results. Rapid Reporting - Compliance flags highlight specific data requiring review prior to approval. (Thanks to Velquest) 11/7/2018
25
Thanks smithp@wyeth.com To my excellent colleagues at Wyeth:
Tad Harrison Dave VanderBrooke Jack Tierney Jay Miller Nina Occhiolini Percy Ries-Burks Walter Romanski of Oracle technical staff Row-based GAT Column-based GAT DBAs 11/7/2018
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.