In Oracle 12c or 11g, is it possible to fetch the history of user privileges held by a schema? Say from last two months, I might have granted different roles and privileges. I can get the current privileges the schema holds, but is it possible to know the privileges I previously granted?
Edit:
I have standard auditing enabled 'DB'. FGA is not enabled.
Best Answer
Well there is no official method of getting the list of previous privileges list of a user or a role. But my suggestion would be doing a
Fine-grained
auditing on the role granted to the user. Or you can do standard auditing on the role by issuingaudit <role_name>;
. Here please note that if you are going to audit DBA or SYSDBA roles then setaudit_sys_operations
parameter toTRUE
. Thank you.