Hi,
I'm trying to write a script to monitor the audit logs for instances where a user has been created. I can make a REST call to get audit data (rest/auditing/1.0/events?actions=User%20created) but I'd rather use the Java/Groovy API through a Scriptrunner script.
I can't seem to find many working examples of how to do this. Any help would be appreciated.
Thanks