Oracle 视图 DBA_PRIV_AUDIT_OPTS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_PRIV_AUDIT_OPTS是每个Oracle用户的审计选项的概要的视图(数据库审计选项),该视图包含为每个用户启用的审计选项的详细信息。
查看数据库审计选项的详细信息,只需执行以下查询:
SELECT * FROM dba_priv_audit_opts;
该视图通过 USERNAME, CLIENT_HOST, TO_CHAR (USER_OS) 和 OBJECT_NAME列进行索引,这些列确定具体地指定了特定oracle用户、客户主机、操作系统和数据库对象。仔细研究该视图可以用来分析包括成功和失败的DBA活动以及客户端活动的审计选项,以及它们的相关信息。
官方英文解释
DBA_PRIV_AUDIT_OPTS
describes current system privileges being audited across the system and by user.
Note:
This view is relevant when using traditional auditing. Traditional auditing is deprecated in Oracle Database 21c. Oracle recommends that you instead use unified auditing, which enables selective and more effective auditing inside Oracle Database.
-
See Oracle Database Security
Guide for more information about unified auditing. -
See Oracle Database Upgrade
Guide for more information about migrating to unified auditing.
This view is populated only in an Oracle Database where unified auditing is not enabled. When unified auditing is enabled in Oracle Database, the audit records are populated in the new audit trail and can be viewed from UNIFIED_AUDIT_TRAIL
.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
User name if by user auditing; |
|
|
|
Name of the proxy user which is performing an operation for the client; NULL if the client is performing the operation directly |
|
|
|
|
Name of the system privilege being audited |
|
|
Mode for |
|
|
|
Mode for |