Systems and methods for generating and implementing database audit functionality across multiple platforms
First Claim
1. A computer-implemented method to automate and optimize implementation of data auditing functionality for multiple database platforms, comprising:
- accessing, by one or more computers comprising one or more processors, a shadow audit configuration file comprising a list of one or more first data tables in a first database to be audited and a list of one or more second data tables in a second database to be audited, wherein the first database is a first database platform and the second database is a second database platform;
generating, by the one or more computers comprising one or more processors, a first audit file comprising first audit code;
running, by the one or more computers, the generated first audit code against a first data table in the one or more first data tables in the first database to create a first shadow audit data table;
running, by the one or more computers, the generated first audit code to create one or more first audit triggers;
inserting, by the one or more computers, the one or more first audit triggers in the first data table, wherein at least one of the one or more first audit triggers is configured to run when a data modification is made to the first data table;
replicating, by the one or more computers, the data modification in the first shadow audit data table;
generating, by the one or more computers, a second audit file comprising second audit code;
running, by the one or more computers, the generated second audit code against a second data table in the one or more second data tables in the second database to create a second shadow audit data table;
running, by the one or more computers, the generated second audit code to create one or more second audit triggers that are inserted in the second data table and wherein at least one of the one or more audit triggers is configured to run when a data modification is made to the second data table; and
replicating, by the one or more computers, the data modification in the second shadow audit data table when the data modification is made to the second data table and an audit trigger of the one or more second audit triggers has run.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods are provided for generating and implementing data auditing functionality supporting multiple database platforms. A database management computer system can engage a shadow audit module to automate and optimize the implementation of data auditing functionality for multiple database platforms that may be utilized by an enterprise application to record data interactions (e.g., insertions, updates, deletions, etc). The shadow audit module may run generated audit SQL code to create an audit trigger in the selected main data tables. Each audit trigger may be a procedure and/or a flag that is stored in the main data table to run or transmit a signal indicating a change may have occurred on the record indicating the required replication of the modification in the shadow audit data table.
-
Citations
20 Claims
-
1. A computer-implemented method to automate and optimize implementation of data auditing functionality for multiple database platforms, comprising:
-
accessing, by one or more computers comprising one or more processors, a shadow audit configuration file comprising a list of one or more first data tables in a first database to be audited and a list of one or more second data tables in a second database to be audited, wherein the first database is a first database platform and the second database is a second database platform; generating, by the one or more computers comprising one or more processors, a first audit file comprising first audit code; running, by the one or more computers, the generated first audit code against a first data table in the one or more first data tables in the first database to create a first shadow audit data table; running, by the one or more computers, the generated first audit code to create one or more first audit triggers; inserting, by the one or more computers, the one or more first audit triggers in the first data table, wherein at least one of the one or more first audit triggers is configured to run when a data modification is made to the first data table; replicating, by the one or more computers, the data modification in the first shadow audit data table; generating, by the one or more computers, a second audit file comprising second audit code; running, by the one or more computers, the generated second audit code against a second data table in the one or more second data tables in the second database to create a second shadow audit data table; running, by the one or more computers, the generated second audit code to create one or more second audit triggers that are inserted in the second data table and wherein at least one of the one or more audit triggers is configured to run when a data modification is made to the second data table; and replicating, by the one or more computers, the data modification in the second shadow audit data table when the data modification is made to the second data table and an audit trigger of the one or more second audit triggers has run. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system to automate and optimize implementation of data auditing functionality for multiple database platforms comprising:
-
at least one memory storing computer-executable instructions; and at least one processor configured to access the at least one memory and execute the computer-executable instructions to; access a shadow audit configuration file comprising a list of one or more first data tables in a first database to be audited and a list of one or more second data tables in a second database to be audited, wherein the first database is a first database platform and the second database is a second database platform; run a shadow audit module against the first database corresponding to an application to determine a first data table in the one or more first data tables in the first database that needs to be audited; generate first audit code; run the generated first audit code against the first data table in the first database to create a first shadow audit data table; run the generated first audit code to create one or more first audit triggers; insert the one or more first audit triggers in the first data table, wherein at least one of the one or more first audit triggers is configured to run when a data modification is made to the first data table; replicate the data modification in the first shadow audit data table, generate second audit code; run the generated second audit code against a second data table in the one or more second data tables in the second database to create a second shadow audit data table; run the generated second audit code to create one or more second audit triggers; insert the one or more second audit triggers in the second data table;
wherein at least one of the one or more audit triggers is configured to run when a data modification is made to the second data table; andreplicate the data modification in the second shadow audit data table when the data modification is made to the second data table and an audit trigger of the one or more second audit triggers has run. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification