Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

SAP HANA audit policy syntax

$
0
0

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>}...]


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>