Audit remote repository framework
Job details
Name: | Audit remote repository framework |
Platform: | Oracle |
Category: | Audit |
Description: | Task that installs and upgrades the procedure for retrieving audit data in an audit repository. |
Long description: | |
Version: | 4.4 |
Default schedule: | * * * * |
Requires engine install: | Yes |
Compatibility tag: | .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’] |
Parameters
Name | Default value | Description |
---|
Job Summary
- Purpose: The purpose of this job is to manage and ensure the integrity and consistency of audit data in an Oracle database environment by implementing a remote repository framework.
- Why: This job is crucial for maintaining reliable audit trails, which helps in achieving compliance with security regulations. The job ensures data consistency through checksum verification, error checking, and data clean-up, preventing potential discrepancies or data losses.
- Manual checking: Manually verifying the operations performed by this job involves executing SQL commands that define tables and functions, check gaps and row checksums in existing audit data, and ensure the correct implementation of repository updates.
Job Detail Analysis
Task Overview
- Name: Audit remote repository framework
- Object: dbw\_audit\_repo
- Description: Installs and upgrades the procedures for retrieving and maintaining audit data.
Object Dependencies and Cleanup Strategy
- Dependencies include several procedures and functions integral to the job’s operation, such as:
- dbw\_audit
- dbw\_rep\_make\_row\_cs
- dbw\_audit\_repo
- dbw\_rep\_get\_md5\_hash
- dbw\_audit\_rec\_histr, and others.
- Cleanup-on-fail: True for all dependencies, ensuring rollback or cleanup in case of failure during the execution.
Reporting
- Report Title: Audit Framework
- Compilation of audit data from the repository within the last 3 hours with details including:
- Date
- Records imported
- Records present in the audit table
Implementation Details
- The primary operations involve creating tables to store various audit-related data:
- dbw\_audit, for main audit logs.
- dbw\_audit\_error, for audit error logs.
- dbw\_auid\_repo\_stats, for statistics related to audit actions.
- Other support tables like dbw\_repo\_trace\_stream\_ses, dbw\_audit\_rec\_histr.
- Key activities also include the creation of several PL/SQL functions and procedures to handle audit data transformation, checksum validations, gap checks in data, and error reporting.
Scheduled Execution
- The job has been scheduled to execute every minute, ensuring real-time updates and checks.
SQL Implementation Example
Example SQL command to check manual operations:
select event_time "Date", rec_count "Records imported", rec_count_tot "Records in audit table" from dbw_audit_rec_histr where event_time > sysdate - (3/24)
This SQL command retrieves recent auditorial activities to verify proper data handling and consistency from the system following the updates introduced by this job.
Conclusion
This dbWatch job not only ensures that the Oracle database it monitors is compliant with necessary audit standards but also manages peace of mind by automating critical checks and data integrity validations crucial for modern enterprise environments.