Oracle Database 12c Administrator (OCA)
1 Introduction to Oracle Database 12c
1-1 Overview of Oracle Database 12c
1-2 Oracle Database Architecture
1-3 Oracle Database Components
1-4 Oracle Database Installation
2 Oracle Database Administration
2-1 Database Creation and Configuration
2-2 Managing Tablespaces and Datafiles
2-3 Managing Users and Security
2-4 Managing Privileges and Roles
2-5 Managing Profiles
2-6 Managing Auditing
3 Oracle Database Storage Structures
3-1 Understanding Oracle Database Storage Structures
3-2 Managing Oracle Database Storage
3-3 Managing Oracle Database Segments
3-4 Managing Oracle Database Extents
3-5 Managing Oracle Database Blocks
4 Oracle Database Backup and Recovery
4-1 Introduction to Oracle Database Backup and Recovery
4-2 Oracle Database Backup Strategies
4-3 Oracle Database Recovery Strategies
4-4 Oracle Database Backup and Recovery Tools
4-5 Oracle Database Backup and Recovery Procedures
5 Oracle Database Performance Tuning
5-1 Introduction to Oracle Database Performance Tuning
5-2 Oracle Database Performance Tuning Tools
5-3 Oracle Database Performance Tuning Techniques
5-4 Oracle Database Performance Tuning Best Practices
6 Oracle Database High Availability
6-1 Introduction to Oracle Database High Availability
6-2 Oracle Database High Availability Features
6-3 Oracle Database High Availability Tools
6-4 Oracle Database High Availability Best Practices
7 Oracle Database Security
7-1 Introduction to Oracle Database Security
7-2 Oracle Database Security Features
7-3 Oracle Database Security Tools
7-4 Oracle Database Security Best Practices
8 Oracle Database Monitoring and Maintenance
8-1 Introduction to Oracle Database Monitoring and Maintenance
8-2 Oracle Database Monitoring Tools
8-3 Oracle Database Maintenance Tasks
8-4 Oracle Database Monitoring and Maintenance Best Practices
9 Oracle Database Cloud Services
9-1 Introduction to Oracle Database Cloud Services
9-2 Oracle Database Cloud Services Features
9-3 Oracle Database Cloud Services Tools
9-4 Oracle Database Cloud Services Best Practices
10 Oracle Database SQL and PLSQL
10-1 Introduction to Oracle Database SQL and PLSQL
10-2 Oracle Database SQL and PLSQL Syntax
10-3 Oracle Database SQL and PLSQL Functions
10-4 Oracle Database SQL and PLSQL Best Practices
11 Oracle Database Data Management
11-1 Introduction to Oracle Database Data Management
11-2 Oracle Database Data Management Tools
11-3 Oracle Database Data Management Techniques
11-4 Oracle Database Data Management Best Practices
12 Oracle Database Application Development
12-1 Introduction to Oracle Database Application Development
12-2 Oracle Database Application Development Tools
12-3 Oracle Database Application Development Techniques
12-4 Oracle Database Application Development Best Practices
Managing Auditing in Oracle Database 12c

Managing Auditing in Oracle Database 12c

Key Concepts

Fine-Grained Auditing (FGA)

Fine-Grained Auditing (FGA) allows you to audit specific actions on specific data within the database. This is achieved by defining policies that trigger audits based on conditions such as SQL statements, user actions, or data values. FGA provides detailed and targeted auditing, making it ideal for regulatory compliance and security monitoring.

Example: You can set up an FGA policy to audit all SELECT statements on a particular table where the salary column is greater than 10,000. This ensures that any access to high-salary data is logged for review.

Standard Auditing

Standard Auditing involves logging specific database events, such as user logins, DDL operations, and DML statements. This type of auditing is configured at the system or object level and is useful for capturing a broad range of activities within the database.

Example: You can enable standard auditing to log all CREATE TABLE statements executed by any user. This helps in tracking the creation of new tables and ensuring compliance with database schema changes.

Auditing Policies

Auditing policies define the rules and conditions under which auditing should occur. These policies can be applied to specific users, roles, or database objects. Policies can be created using SQL commands and are stored in the database for future reference and enforcement.

Example: You can create an auditing policy that logs all DELETE statements on a sensitive table. This policy ensures that any deletion of data from this table is recorded for auditing purposes.

Audit Trails

Audit trails are the records generated by the auditing process. These records contain detailed information about the audited events, including the user, timestamp, SQL statement, and affected data. Audit trails are stored in specific tables and can be queried to review and analyze audit data.

Example: The audit trail for a particular policy might include entries like "User A accessed table B at timestamp X with SQL statement Y." This information is crucial for post-event analysis and compliance reporting.

Auditing Views and Reports

Oracle provides various views and reports to facilitate the review and analysis of audit data. These views, such as DBA_AUDIT_TRAIL and DBA_FGA_AUDIT_TRAIL, allow administrators to query the audit trails and generate reports summarizing the audited activities.

Example: Using the DBA_AUDIT_TRAIL view, you can generate a report that lists all DDL operations performed in the last week. This report can be used to review schema changes and ensure they were authorized.

By mastering the concepts of Fine-Grained Auditing, Standard Auditing, Auditing Policies, Audit Trails, and Auditing Views and Reports, you can effectively manage and monitor the security and compliance of your Oracle Database 12c environment.