zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

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

Oracle官方 使用 如何 详细 作用 说明 解释
2023-06-13 09:11:09 时间
本站中文解释

ALL_AUDIT_POLICIES视图用于显示所有审核策略的相关信息。它包含每种审核策略的路径名称,采用的审核模式,最后更新日期和是否有效的相关信息,用于查询回的审核策略的列表。

要使用此视图,首先需要创建审核策略,然后对视图进行SELECT查询,查询某个审核策略的相关信息。例如:

SELECT POLICY_NAME, POLICY_MODE
FROM ALL_AUDIT_POLICIES
WHERE POLICY_NAME = MY_AUDIT_POLICY

官方英文解释

ALL_AUDIT_POLICIES describes the fine-grained auditing policies on the tables and views accessible to the current user.


Note:

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.


See Oracle Database Upgrade
Guide for more information about migrating to unified auditing.


DBA_AUDIT_POLICIES describes all fine-grained auditing policies in the database.


USER_AUDIT_POLICIES describes the fine-grained auditing policies on the tables and views owned by the current user. This view does not display the OBJECT_SCHEMA column.


Indicates whether the policy is applied to queries on the object (YES) or not (NO)


Indicates whether the policy is applied to INSERT statements on the object (YES) or not (NO)


Indicates whether the policy is applied to UPDATE statements on the object (YES) or not (NO)


Indicates whether the policy is applied to DELETE statements on the object (YES) or not (NO)


Indicates the audit trail to which the audit records generated by this audit policy will be written:


DB+EXTENDED Audit records are written to DBA_FGA_AUDIT_TRAIL (fine-grained audit trail) and the SQL_TEXT and SQL_BIND columns are populated for this policy


XML+EXTENDED Audit records are written to V$XML_AUDIT_TRAIL (XML audit files) and the SQL_TEXT and SQL_BIND columns are populated for this policy


Indicates whether all columns in the AUDIT_COLUMN parameter (ALL_COLUMNS) or any of the columns in the AUDIT_COLUMN parameter (ANY_COLUMNS) are considered for triggering fine-grained auditing


Indicates whether the policy applies across multiple containers (YES) or not (NO)


Indicates whether the policy was inherited from another container (YES) or not (NO)


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 ALL_AUDIT_POLICIES 官方解释,作用,如何使用详细说明