I am trying to make a audit policy in SAP HANA for all actions for users whose name starts with XXX01* . In SAP HANA audit policy I have to check each user manually. So I am thinking to create a query for this audit policy. But thinking how the query should be for all users starting with XXX01*. I made some query like below:-
CREATE AUDIT POLICY "test1" AUDITING ALL ACTIONS FOR XXX01* LEVEL INFO
CREATE AUDIT POLICY "test1" AUDITING ALL ACTIONS FOR XXX01% LEVEL INFO
Let me know which is correct query for my audit policy. Any hint .