on 07-17-2015 10:15 PM
Hi Folks,
I have a question, i am trying to enable the change authorisation and want to exempt some users from the same.
SQL query i was trying to generate is as below
drop AUDIT POLICY Change_Authorization;
create AUDIT POLICY Change_Authorization
AUDITING ALL
GRANT PRIVILEGE, REVOKE PRIVILEGE,
GRANT ROLE, REVOKE ROLE
LEVEL WARNING;
ACTIONS EXCEPT for SAPSR3
ALTER AUDIT POLICY Change_Authorization ENABLE;
But somehow it doesnt work. Has anyone tried using the except syntax rather than going through studio?
<actions_for_user> ::= ACTIONS [EXCEPT] FOR <user_name>[{, <user_name>}...]
p51770,
Try this:
CREATE AUDIT POLICY Change_Authorization
AUDITING ALL
GRANT PRIVILEGE, REVOKE PRIVILEGE,
GRANT ROLE, REVOKE ROLE
EXCEPT FOR SAPSR3
LEVEL WARNING;
Good luck,
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.