zl程序教程

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

当前栏目

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

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

Oracle 视图DBA_XS_AUDIT_TRAIL用于查询权限审计日志。它由数据库管理者的查询使用,以审查具有特权的用户的权限使用情况,确定数据库访问控制和安全策略是否被正确实施。

利用该视图,DBA可以跟踪所有特权用户(拥有SYSDBA、SYSOPER或 sys_context[ userenv , authenticated_role ]角色的用户)在数据库上执行的操作。它还跟踪特权未经认证的许可动作。

使用该视图的方法:
1. 选择检查的范围,对特定的组、用户或许可进行记录
2. 运行SQL查询,查看指定的组/用户/许可的行为
例:
SELECT username, action, returncode, description
FROM dba_xs_audit_trail
WHERE username = TEST_USER
AND action = grant
AND returncode = 0;

这个查询查找“TEST_USER”执行“授予”操作但returncode为0的行为细节。

官方英文解释

DBA_XS_AUDIT_TRAIL describes all audit records specific to Oracle Database Real Application Security.


Numeric audit trail action type code. The corresponding name of the action type is in the ACTION_NAME column.


Type of the Real Application Security entity. Possible values are USER, ROLE, ROLESET, SECURITYCLASS, ACL, DATASECURITY, and NSTEMPLATE.


Target principal name in Real Application Security operations. Possible operations are set verifier, set password, add proxy, remove proxy, switch user, assign user, create session, grant roles.


Name of the schema in enable, disable data security policy and global callback operation


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

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