Oracle 视图 DBA_OBJ_AUDIT_OPTS 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图DBA_OBJ_AUDIT_OPTS显示监控选项状态。它用于显示为给定对象启用哪些审计选项,以及启用审计时最初使用的选项配置,和任何随后更改的选项。

要使用DBA_OBJ_AUDIT_OPTS,您必须有SELECT ANY DICTIONARY权限,以及SELECT_CATALOG_ROLE角色。下面是查询语句的概述:

SELECT * FROM DBA_OBJ_AUDIT_OPTS WHERE OBJ_NAME=’

‘;

官方英文解释

DBA_OBJ_AUDIT_OPTS describes auditing options on all objects.

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.

Related View

USER_OBJ_AUDIT_OPTS describes auditing options on all objects owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the object

OBJECT_NAME

VARCHAR2(128)

Name of the object

OBJECT_TYPE

VARCHAR2(23)

Type of the object

ALT

VARCHAR2(3)

Auditing ALTER WHENEVER SUCCESSFUL / UNSUCCESSFUL

AUD

VARCHAR2(3)

Auditing AUDIT WHENEVER SUCCESSFUL / UNSUCCESSFUL

COM

VARCHAR2(3)

Auditing COMMENT WHENEVER SUCCESSFUL / UNSUCCESSFUL

DEL

VARCHAR2(3)

Auditing DELETE WHENEVER SUCCESSFUL / UNSUCCESSFUL

GRA

VARCHAR2(3)

Auditing GRANT WHENEVER SUCCESSFUL / UNSUCCESSFUL

IND

VARCHAR2(3)

Auditing INDEX WHENEVER SUCCESSFUL / UNSUCCESSFUL

INS

VARCHAR2(3)

Auditing INSERT WHENEVER SUCCESSFUL / UNSUCCESSFUL

LOC

VARCHAR2(3)

Auditing LOCK WHENEVER SUCCESSFUL / UNSUCCESSFUL

REN

VARCHAR2(3)

Auditing RENAME WHENEVER SUCCESSFUL / UNSUCCESSFUL

SEL

VARCHAR2(3)

Auditing SELECT WHENEVER SUCCESSFUL / UNSUCCESSFUL

UPD

VARCHAR2(3)

Auditing UPDATE WHENEVER SUCCESSFUL / UNSUCCESSFUL

EXE

VARCHAR2(3)

Auditing EXECUTE WHENEVER SUCCESSFUL / UNSUCCESSFUL

CRE

VARCHAR2(3)

Auditing CREATE WHENEVER SUCCESSFUL / UNSUCCESSFUL

REA

VARCHAR2(3)

Auditing READ WHENEVER SUCCESSFUL / UNSUCCESSFUL

WRI

VARCHAR2(3)

Auditing WRITE WHENEVER SUCCESSFUL / UNSUCCESSFUL

FBK

VARCHAR2(3)

Auditing FLASHBACK WHENEVER SUCCESSFUL / UNSUCCESSFUL

See Also:

  • “USER_OBJ_AUDIT_OPTS”

  • Oracle Database SQL
    Language Reference
    for more information about the SQL AUDIT statement for unified auditing

  • Oracle Database SQL
    Language Reference
    for more information about the SQL AUDIT statement for traditional auditing

  • Oracle Database Security
    Guide
    to learn how to find information about audited activities



数据运维技术 » Oracle 视图 DBA_OBJ_AUDIT_OPTS 官方解释,作用,如何使用详细说明