audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit. audit automation compliance evidence scripts

databases/oracle/oracle_admins.sql

v1.1.0
audit-tools/databases/oracle/oracle_admins.sql history · blame · raw

15 lines · 307 bytes

 1SELECT
 2    grantee AS "User",
 3    privilege AS "Privilege"
 4FROM
 5    dba_sys_privs
 6WHERE
 7    grantee IN (SELECT DISTINCT grantee FROM dba_sys_privs)
 8UNION ALL
 9SELECT
10    grantee AS "User",
11    privilege AS "Privilege"
12FROM
13    dba_tab_privs
14WHERE
15    grantee IN (SELECT DISTINCT grantee FROM dba_tab_privs);