1 PUG Challenge Americas 2013 Click to edit Master title style PUG Challenge Americas 2013 – Westford, MA Tales from the Audit Trails Presented by: Mike.

Slides:



Advertisements
Similar presentations
B3: Putting OpenEdge Auditing to Work: Dump and Load with (Almost) No Downtime David EDDY Senior Solution Consultant.
Advertisements

Advanced SQL Schema Customization & Reporting Presented By: John Dyke As day to day business needs become more complex so does the need for specifically.
By: Jose Chinchilla July 31, Jose Chinchilla MCITP: SQL Server 2008, Database Administrator MCTS: SQL Server 2005/2008, Business Intelligence DBA.
OEM Business Intelligence in Financial Services Application Packages How to Differentiate and Add Value to Your Offering Virtual User Forum for Financial.
Burt King We will cover: Essentials --No command line needed here (mott) What is SQL Server How does it come to life What are the.
Client Principal in the wild
Strength. Strategy. Stability. The Application Profiler.
Module 12: Auditing SQL Server Environments
1 PUG Challenge Americas 2014 Click to edit Master title style PUG Challenge EMEA 2014 – Dusseldorf, Germany Tales from the Audit Trails Presented by:
The Audit is coming The Audit is coming
1 PUG Challenge EU 2014 Click to edit Master title style PUG Challenge EMEA 2014 – Dusseldorf, Germany Common Database Problems Common Database Solutions.
Angelo Tracanna Senior Manager, OpenEdge Data Management
Concepts of Database Management Seventh Edition
Overview of Transaction Processing and Enterprise Resource Planning Systems Chapter 2.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
MOVE-4: Upgrading Your Database to OpenEdge® 10 Gus Björklund Wizard, Vice President Technology.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Multiplicity – Progress Data Replication Methodologies.
ENVIROTRAC: A Premier Chamber Monitoring and Data Acquisition System Envirotrac A Guided Tour.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Top Performance Enhancers Top Performance Killers in Progress Dan Foreman Progress Expert
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
MOVE-9: Audit enable your Application the Easy Way Anthony D Swindells Engineering Fellow.
1 Oracle Database 11g – Flashback Data Archive. 2 Data History and Retention Data retention and change control requirements are growing Regulatory oversight.
Data: Migrating, Distributing and Audit Tracking Michelle Ayers, Advisory Solution Consultant
Forensic Audit Logging for PostgreSQL
Strength. Strategy. Stability.. Progress Performance Monitoring and Tuning Dan Foreman Progress Expert BravePoint BravePoint
Master Data Impact, Data Standards, and Management Process and Tools.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
DB-8: Jump Starting Your OpenEdge® Auditing Solution
IMS 4212: Database Security 1 Dr. Lawrence West, Management Dept., University of Central Florida Data & Database Administration Security.
E-Business on Solid Ground. Purging and Archiving Rocky Mountain User Group March 7, 2002 Brian Roberts.
Master Data Management & Microsoft Master Data Services Presented By: Jeff Prom Data Architect MCTS - Business Intelligence (2008), Admin (2008), Developer.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Recovery Log Notes Gus Björklund, Progress Dan Foreman, Bravepoint 2014 Americas PUG Challenge Westford, MA June 8 – June
7 Strategies for Extracting, Transforming, and Loading.
IT System Administration Lesson 3 Dr Jeffrey A Robinson.
Relational Databases: Why So Many Tables? William Blozan, Ph.D. Fast Answers.
DEV-17: Effective Design and Deployment of OpenEdge® Audit Policies Michael Jacobs Development Architect.
1 Overcoming your Reporting and Replication Hurdles Mike Furgal Director – Managed Database Services BravePoint.
Using Progress® Analytical Tools Adam Backman White Star Software DONE-05:
SQL SERVER AUDITING. Jean Joseph DBA/Consultant Contact Info: Blog:
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
ORACLE's Approach ORALCE uses a proprietary mechanism for security. They user OLS.... ORACLE Labeling Security. They do data confidentiality They do adjudication.
Pro2SQL: BI and Reporting solution June 26 th – June 29 th Manchester, NH Greg White – Sr Consultant Progress Software.
Start-SPPowerShell – Introduction to PowerShell for SharePoint Admins and Developers Paul BAker.
Platform and Data Migration With Little Downtime
How Social is your data Fundamentals on database storage
- for the SSASMD Developer
Physical Changes That Don’t Change the Logical Design
We Have Found Nirvana with Online Dump and Load (224)
Application Auditing Made Easy
Mike Furgal Director – DB and Pro2 Services March 20th, 2017
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Real-Time Data Replication From Your Progress DB (Pro2 Enterprise)
Walking Through A Database Health Check
Auditing in SQL Server 2008 DBA-364-M
Administering Your Network
Cloud Data Replication with SQL Data Sync
DAT381 Team Development with SQL Server 2005
Minimize Unplanned Downtime and Data Loss with OpenEdge
Database hidden disasters…
Leave the driving to Us with the Progress Managed Database Service
Andy Puckett – Sales Engineer
Protect data in core business applications
Presentation transcript:

1 PUG Challenge Americas 2013 Click to edit Master title style PUG Challenge Americas 2013 – Westford, MA Tales from the Audit Trails Presented by: Mike Furgal & John Harlow

2 PUG Challenge Americas 2013 Introductions Mike Furgal –Progress employee from –Director of the Database Group at BravePoint since 2012 –Progress OpenEdge Database Expert John Harlow –Progress developer since 1984 –Primarily focused on database and virtualization –President of BravePoint

3 PUG Challenge Americas 2013 About BravePoint Largest OpenEdge consulting organization ABL developers QAD implementation and support Application design and modernization Business intelligence and discovery Pro2 replication products Managed services –OE Database –QAD –Entire IT organizations

4 PUG Challenge Americas 2013 Disclaimer The techniques covered in this presentation are directed at the users and administrators of OE applications. Out of scope topics include: –Establishing Trusted User Identity –Adding Auditing Events to an application

5 PUG Challenge Americas 2013 Why Auditing? Regulatory requirements… –SEC (Sarbanes Oxley) –FDA (CFR 21 Part 11) –HIPAA –Immigration (I-9s) –And more Security Peace of mind

6 PUG Challenge Americas 2013 Auditing Options “Roll your own” ABL based solutions OpenEdge Auditing Let’s do a Poll: –Who has an audit system? –Who’s audit system is written in the ABL? –Who’s already using OE Auditing? –Who wishes they had auditing on their OE application?

7 PUG Challenge Americas 2013 “Roll your own” Solutions –Typically use Replication or Database Triggers –Pros Program in the ABL Very fine control –Cons May require access to application source code Defeatable/insecure High overhead Complications (SQL access for example.) Triggers are client based

8 PUG Challenge Americas 2013 OpenEdge Auditing Integrated in the product since 10.1A –No additional $ cost Built into the Database Engine –Low overhead –Supports both ABL and SQL transactions Secure and tamper proof Tools for archiving and reporting Unimpacted by ABL code constructs –ie: DISABLE TRIGGERS

9 PUG Challenge Americas 2013 OpenEdge Auditing Comprehensive Auditing Solution –Table based Auditing –Field Based Auditing –Allows capture of Before and After versions of the data Auditing includes Security so there is no tampering with data Some reporting capabilities built into the product

10 PUG Challenge Americas 2013 What does OE Auditing track? Changes to... – The Database Schema – The Application Data – Application Defined Events – The Security (New users, deleted users) – Database Encryption – The Audit Policies

11 PUG Challenge Americas 2013 Where is the data stored? Auditing adds tables to your production DB –Audit trail data is stored in: _aud-audit-data _aud-audit-data-value –Audit policy and controls are stored in: _aud-audit-policy _aud-event _aud-event-policy _aud-field-policy _aud-file-policy

12 PUG Challenge Americas 2013 What does basic Audit Data look like? _Audit-data-guid |"/unygEGMpaXiEXSzdJPDfQ" _Database-connection-id |"/unygEGMpaXiEXSzOlqlcw" _Client-session-uuid |"" _User-id |"root" _Audit-date-time | T18:06: :00 _Audit-event-group |"" _Db-guid |"4f5kvLayZrXiEXKzHE+akA" _Transaction-id |403 _Transaction-sequence |0 _Event-id |5101 _Event-context |"PUB.Customer^F84" _Application-context-id |"" _Event-detail |"Credit-Limit^F5^F12345^F22222" _Audit-custom-detail |"" _Audit-data-security-level |0 _Data-seal |""

13 PUG Challenge Americas 2013 Cust-Num^F4^F71^F^GName^F1^Fpocket billiards co.^F^GAddress^F1^F44 Saunders Ave.^F^GAddress2^F1^F^F^GCity^F1^FPhelan^F^GState^ F1^Fca^F^GCountry^F1^FUSA^F^GPhone^F1^F(818) ^F^GContact^F1^FLeon Aida^F^GSales- Rep^F1^FKIK^F^GComments^F1^F^F^GCredit- Limit^F5^F5000^F^GBalance^F5^F0^F^GTerms^F1^FNet3 0^F^GDiscount^F4^F50^F^GPostal-Code^F1^F92371^F" What is in the _Event-detail field? It can be a little… Or a lot…. "Credit-Limit^F5^F12345^F22222"

14 PUG Challenge Americas 2013 Enable Audit on the Database Enable auditing (with indexes inactive!) Shutdown and backup database Add storage areas for audit data and indexes

15 PUG Challenge Americas 2013 Define Audit Policies Use Audit Policy Maintenance Tool in GUI OpenEdge

16 PUG Challenge Americas 2013 Determining Auditing Requirements What type of things do you want to audit? How long do you keep your audit data? What performance impact can you tolerate? How does auditing fit into your disaster recovery plan? Who can access or manage your audit rules and data? What type of reporting/inquiry is required?

17 PUG Challenge Americas 2013 Roles and Responsibilities The auditing system requires an administrator –Best practice for this position has it as separate person from the DBA The administrator designates who can: –Administer the audit rules –Report on audit data –Archive or delete audit data Requires use of OE security

18 PUG Challenge Americas 2013 The Audit Data The audit tables have 27 indexes defined –Best practice is to have most turned off in production –We’ll see why in a moment Effective reporting requires that these indexes be active. Having the audit data in an archive database allows this without negatively impacting production OpenEdge provides tools to securely move data into the archive database.

19 PUG Challenge Americas 2013 Overhead of Auditing Customer example: QAD System –Real world audit policies –Inventory Load ( &.2) Tested 5 scenarios: –Baseline without auditing –Auditing w/indexes inactive –Auditing w/indexes active –Auditing w/indexes inactive using value table –Auditing w/indexes active using value table

20 PUG Challenge Americas 2013 BI Logging

21 PUG Challenge Americas 2013 Record Creates & Locks

22 PUG Challenge Americas 2013 Overhead of Auditing on DB Size Keeping audit history in production may not seem significant

23 PUG Challenge Americas 2013 Overhead of Auditing on space As the database grows Audit data takes up an immense amount of space Archiving out audit data keeps the database at an appropriate size - This will generate a lot of BI/AI activity

24 PUG Challenge Americas 2013 Archive Commands To periodically archive data out of production ready to load into the archive database To load the exported audit data into the archive database

25 PUG Challenge Americas 2013 Reporting from Audit Data Things to consider: –Do you report off production? –Do you report off archive –Do you report from both? Timeliness of the incident being analyzed –Can alerts be set up? –This is a “roll your own” activity

26 PUG Challenge Americas 2013 OE Reporting Options

27 PUG Challenge Americas 2013 DEMO Start with a Sports database Enable Auditing Use Audit Policy Maintenance Tool –Audit all tables –Audit changes to customer max-credit Create a workload on db Polling process watching for changes to max-credit in _aud-audit-data Examine the generated audit log

28 PUG Challenge Americas 2013 DEMO

29 PUG Challenge Americas 2013 Caveats Make sure you use deactivateidx on the production database audit tables –Spelling counts!!!! (ask Mike) –If you rebuild all indexes all 27 audit indexes become active!!! Index rebuild causes worse performance You need to retune both BI and AI –Think about OE Replication and AI size impacts Don’t forget your audit policies during a dump/load! Managing 2 databases (production and archive) –Backups –Space management –Recovery Plans

30 PUG Challenge Americas 2013 Conclusions OE Auditing is a powerful tool Knowing what needs to be audited may not be obvious Use an iterative approach –Audit less than you need to start –Ramp as needed Make sure you have a solid data management plan Report and alert as needed

31 PUG Challenge Americas 2013 Thank You! Questions?