Read about oracle 11g fine grained auditing, The latest news, videos, and discussion topics about oracle 11g fine grained auditing from alibabacloud.com
Fine-grained auditing (FGA) is introduced in Oracle9i. It can record SCN numbers and row-level changes to recreate old data. This article will introduce it in detail. For more information, see
Fine-grained auditing (FGA) is intro
Fine-grained auditing (FGA) is introduced in Oracle 9i. It can record SCN numbers and row-level changes to recreate old data, but they can only be used for select statements, not DML, such as update, insert, and delete statements. therefore, for Oracle database versions earl
Use of fine-grained oracle Auditing
Take the scott user's emp table as an Example
---- Add a policy
Begin
DBMS_FGA.ADD_POLICY (
Object_schema => 'Scott ',
Object_name => 'emp ',
Policy_name => 'mydomainy1 ',
Handler_schema => NULL,
Handler_module => NULL,
Enable => TRUE,
Statement_types => 'insert, UPDATE, delete '
Audit SYSDBA Activities:Related system parameters: Audit_sys_operations. Set to True, then each statement published by a user who connects to the database as SYSDBA or Sysoper writes to the audit trail of the operating system.--Query defines how many audits are made:SELECT * from Dba_audit_policies;--Database Audit record:SELECT * from Dba_audit_trail;Related parameters: Audit_trail--fine-grained audit reco
Oracle fine-grained audit and oracle fine-grained AuditTake the scott user's emp table as an Example---- Add a policyBeginDBMS_FGA.ADD_POLICY (Object_schema => 'Scott ',Object_name => 'emp ',Policy_name => 'mydomainy1 ',Handler_sc
Implement fine-grained auditing from Oracle9i, you can use DBMS_FGA to audit the SELECT statement of the specified table, but in 9i, you can only audit the select statement, DML auditing can be implemented in 10 Gb. 1. Before the audit policy takes effect, you must analyze the table, because DBMS_FGA can analyze the ta
Oracle FGA fine-grained audit and oraclefga fine-grained Audit
If you want to audit the table, it is a good choice to use FGA for a certain period of time, persons and DML statements.
SQL> select * from v $ version;Oracle Database
Tags: Oracle database DBMS_FGAExperiment: Using DBMS_FGA to achieve fine-grained auditing1. Create a test table[email protected]> CREATE TABLE audit_test (x number);Table created.2. Create an Audit policy[email protected]> Conn/as SYSDBAConnected.[email protected]> BeginDbms_fga. Add_policy (Object_schema = ' TEST_USR1 ',--The schema to which the object to audit
Fine-grained audit (FGA) is introduced in Oracle9i. It records changes at the SCN number and row level to reconstruct old data. However, it can only be used for select statements, not DML.
Fine-grained auditing (FGA) is introduced in Or
Fine-grained auditing (FGA) is introduced in Oracle 9i. It can record SCN numbers and row-level changes to recreate old data,However, they can only be used for select statements, but not for DML, such as update, insert, and delete statements.Therefore, for Oracle database ve
Fine-grained auditing (FGA) is introduced in Oracle 9i. It can record SCN numbers and row-level changes to recreate old data,
However, they can only be used for select statements, but not for DML, such as update, insert, and delete statements.
Therefore, for Oracle databas
Fine-grained audits (FGA), introduced in Oracle 9i, can record the SCN number and row-level changes to reconstruct old data, but they can only be used for SELECT statements, not for DML, such as update, Insert and DELETE statements. Therefore, for a previous version of Oracle database 10g, using triggers is not an attr
invoked only after the first row, matches the audit condition in the query is processed. If The procedure fails with an exception, the user SQL statement would fail as well.
NULL
enable
enables The policy if TRUE, which is the default.
TRUE
statement_types
the SQL statement types to which This policy is applicable: INSERT , UPDATE , DELETE , or SELECT only.
select
audit_trail
destin
from Dba_fga_audit_trail;Statement_type Sql_text-------------- -----------Select SELECT * FROM T_audit_demo Note: The previous INSERT statement is not in the audit. The default is to audit only select. It captures only SELECT statements in Oracle 9i. It is extended in Oracle 10i to enable auditing of all types of DML. 6. Modify the granularity of the audit ( us
1, FGA strategy (fine-grained audit)
DBMS_FGA is a package for the SYS user
(1) Increase FGA strategy
--Audit form
GRANT Resource,connect to bank identified by bank;
CREATE TABLE BANK. ACCOUNTS
(
Acct_no number PRIMARY KEY,
cust_id number not NULL,
BALANCE number (15,2) NULL
);
INSERT into bank.accounts values (1,1,10000);
INSERT into bank.accounts values (2,2,20000);
Commit
Begin
Dbms_fga.dr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.