Created
March 13, 2015 15:44
-
-
Save eedgar/16f2f60724242802c2c4 to your computer and use it in GitHub Desktop.
audit usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Products.ZenMessaging.audit import audit | |
auditData = { | |
'TransactionId': newId, | |
'uid': uid, | |
'url': url, | |
'user': user, | |
'realm': realm, | |
'data': something_custom, | |
'agent': agent, | |
'userCreated': userCreated | |
} | |
audit('UI.CustomTransaction.Create' , data_=auditData) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment