Oracle fga audit has these features, oraclefga audit features
Fga audit has the following features:
This article is the original article, reprint please indicate the source: http://blog.csdn.net/msdnchina/article/details/38409057
1. select * from table_xxx where 1 = 2 -- the statement is not audited in dba_fga_audit_trail because I guess there is no record to be selected
2. log on to a session as a sys user and execute select * from user. table_xxx is not audited by fga (that is, audit records are not written to dba_fga_audit_trail) Because sys users are not audited by fga.
Which types of oracle audits are involved?
1. What is audit?
Audit (Audit) is used to monitor database operations performed by users, and Oracle stores Audit trail results in OS files (default location: $ ORACLE_BASE/admin/$ ORACLE_SID/adump /) or database (SYS. in the AUD $ table, you can view it in dba_audit_trail. Audit is disabled by default.
Whether or not you enable the database audit function, the following operating systems will forcibly record: Use the Administrator permission to connect to the Instance, start the database, and close the database.
2. audit-related parameters
Audit_sys_operations:
The default value is false. When it is set to true, all operations on sys users (including users logging on as sysdba and sysoper) will be recorded, and audit trail will not be written in the aud $ table, this is easy to understand. If the database has not started aud $, connection information such as conn/as sysdba can only be recorded elsewhere. If it is a windows platform, aupd-trail will be recorded in windows event management. If it is a linux/unix platform, it will be recorded in the file specified by the audit_file_dest parameter.
Audit_trail:
None: the default value. No audit is performed;
DB: records the audit trail in the audit-related tables of the database, such as aud $. The audit results only contain connection information;
DB, Extended: in this way, in addition to the connection information, the audit results also contain the specific statements executed at that time;
OS: records the audit trail in the operating system file. The file name is specified by the audit_file_dest parameter;
XML: New in 10 Gb.
Note: These two parameters are static and need to be restarted to take effect.
3. Audit Level
After the audit function is enabled, You can audit the database at three levels: Statement, Privilege, and object ).
Statement:
Audit by statement. For example, audit table audits all the create table, drop table, and truncate table statements in the database. alter session by cmy audits all database connections of cmy users.
Privilege:
Audit by permission. If the user uses this permission, the user is audited. For example, after the grant select any table to a statement is executed and the audit select any table statement is executed, when user a accesses user B's table (for example, select * from B. t) The select any table permission is used, so it will be audited. Note that the user is the owner of his/her own table, so the user's access to his/her own table will not be audited.
Object:
Audits by object. Only the on keyword is used to audit the operations on the specified object, such as aduit alter, delete, drop, and insert on cmy. t by scott; here, the t table of cmy users is audited, but the by clause is used at the same time, so only operations initiated by scott users are audited. Note that Oracle does not provide the audit function for all objects in the schema. Only one object can be audited. For the objects created later, Oracle provides the on default clause for automatic audit, for example, after you execute audit drop on default by access;, all the drop operations on the subsequently created objects will be audited. However, this default option will be valid for all the database objects created later. It seems that it cannot be specified to be valid only for the objects created by a user.
How can ORACLE auditing be enabled? Can you give a step?
It is basically impossible. I graduated from the 08 th session, specialized information system and information management, and passed the database engineer's certificate. No one looked at this information when I was looking for a job. Generally, developers or systems are recruited for maintenance. Only databases are managed, and they are maintained together with programs or websites.