TAILIEUCHUNG - Sybex OCA Oracle 10g Administration I Study Guide phần 7

Xác định các tùy chọn đối tượng kiểm toán Bật Các tùy chọn đối tượng kiểm toán được kích hoạt trong cơ sở dữ liệu được ghi lại trong AUDIT_OPTS DBA_OBJ_ xem dữ liệu từ điển. Không giống như các tuyên bố và đặc quyền _AUDIT_OPTS xem, DBA_OBJ_AUDIT_OPTS luôn luôn có một hàng cho mỗi đối tượng auditable trong cơ sở dữ liệu. | Auditing Database Activity 345 Identifying Enabled Object Auditing Options The object auditing options that are enabled in the database are recorded in the DBA_OBJ_ AUDIT_OPTS data dictionary view. Unlike the statement and privilege _AUDIT_OPTS views the DBA_OBJ_AUDIT_OPTS always has one row for each auditable object in the database. There are columns for each object privilege that auditing can be enabled on and in each of these columns a code is reported that shows the auditing options. For example the following report on the table shows that no auditing is enabled for the INSERT object privilege and that the SELECT object privilege has auditing enabled with one audit entry for each access when the access is successful and one audit entry for each session when the access is not successful SELECT owner object_name object_type ins sel FROM dba_obj_audit_opts WHERE owner HR AND object_name EMPLOYEE_SALARY OWNER OBJECT_NAME OBJECT_TY INS SEL HR EMPLOYEE_SALARY TABLE - - A S The coding for the object privilege columns contains one of three possible values a dash - to indicate no auditing is enabled an A to indicate BY ACCESS or an S to indicate BY SESSION. The first code preceding the slash denotes the action for successful statements and the second code after the slash denotes the action for unsuccessful statements. Disabling Object Auditing To disable object auditing use a NOAUDIT statement which allows the same WHENEVER options as the AUDIT statement. For example to disable auditing of unsuccessful SELECT statements against the table execute the following NOAUDIT select ON WHENEVER NOT SUCCESSFUL Purging the Audit Trail Database audit records for statement privilege and object auditing are stored in the table . Depending on how extensive your auditing and retention policies are you will need to periodically delete old audit records from this table. The database does not provide an interface to assist in deleting .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.