oracle 資料庫審計

2021-08-29 12:38:43 字數 1145 閱讀 2823

1、審計初始化引數:在init檔案中新增 audit_trail = db

2、設定審計

物件審計:audit delete,insert,update on table (by user);

session審計:

audit session;

-- 指定使用者

audit session by (user1,user2)

許可權審計:

audit delete any table by access whenever notsuccessful;

audit delete any table;

audit select table, insert table, delete table, execute procedure

by access whenever not successful;

3、關閉審計noaudit

4、清除審計

delete from sys.aud$;

delete from sys.aud$ where obj$name = 。。。

stmt_audit_option_map-審計選項型別**

audit_actions-action**

all_def_audit_opts-物件建立時預設的物件審計選項

dba_stmt_audit_opts-當前資料庫系統審計選項

dba_priv_audit_opts-許可權審計選項

dba_obj_audit_opts

user_obj_audit_opts-物件審計選項

dba_audit_trail

user_audit_trail-審計記錄

dba_audit_object

user_audit_object-審計物件列表

dba_audit_session

user_audit_session-session審計

dba_audit_statement

user_audit_statement-語句審計

dba_audit_exists-使用by audit not exists選項的審計

dba_audit_policies-審計policies

dba_common_audit_trail-標準審計+精細審計

Oracle資料庫審計

一 何謂資料庫審計?資料庫審計,就是對資料庫的活動做跟蹤記錄,主要包括資料庫連線,sql語句執行,資料庫物件訪問這些方面的跟蹤記錄。二 審記記錄的儲存方式 分為兩種 一種是儲存在作業系統檔案中,一種是儲存在 system 表空間中的 sys.aud 表中。三 對資料庫效能影響的考慮 審計必然需要占用...

oracle資料庫審計架構

審計始終關注問責制,進行審計通常是為了保護資料庫中儲存的資訊的隱私。隨著資料庫在企業中和網際網路上的普遍使用,對隱私政策和做法的擔憂也在持續增加。oracle database 提供了深度審計,讓系統管理員能夠實施增強的保護措施,及時發現可疑活動,做出精心優化的安全應對。oracle databas...

Oracle資料庫SQL審計

在我們日常的工作中,一些安全性的要求高的資料庫需要增加審計操作,哪個使用者什麼時間做了什麼操作。1.開啟資料庫的審計 alter system set audit sys operations true scope spfile 審計管理使用者 alter system set audit trai...