Oracle 视图 DBA_UNUSED_USERPRIVS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_UNUSED_USERPRIVS显示当前用户拥有的未使用的系统权限,其中包括系统权限、表和索引的操作权限以及对象操作权限。通过这个视图,DBA可以快速查找没有使用的短暂权限,DBA可以通过REVOKE把这些没有用的权限撤销,以方便系统安全管理和数据安全管理。
想要使用DBA_UNUSED_USERPRIVS视图,需要拥有SELECT_CATALOG_ROLE权限。使用如下SQL语句可以查询当前用户拥有的未使用的系统权限:
SELECT * FROM DBA_UNUSED_USERPRIVS;
官方英文解释
DBA_UNUSED_USERPRIVS
lists the user privileges (without privilege grant paths) that are not used for the privilege analysis policies reported by the DBMS_PRIVILEGE_CAPTURE.GENERATE_RESULT
procedure.
This view provides access to analyzed privilege records in SYS
tables.
You must have the CAPTURE_ADMIN
role to access this view.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Name of a privilege analysis policy |
|
|
Name of the user whose privileges are reported |
|
|
|
Name of the role whose unused privileges are reported (for |
|
|
|
Unused user privilege |
|
|
|
The user whose user privileges the grantee can exercise |
|
|
|
Indicates whether the privilege is granted with the
|
|
|
|
The name of the run during which the privilege was reported |
See Also:
-
Oracle Database Security
Guide for more information about privilege analysis -
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_PRIVILEGE_CAPTURE.GENERATE_RESULT
procedure