sul-dlss / dor-services-app

A Rails application exposing Digital Object Registry functions as a RESTful HTTP API
https://sul-dlss.github.io/dor-services-app/
Other
3 stars 2 forks source link

Include username in withdraw event #5168

Open andrewjbtw opened 2 months ago

andrewjbtw commented 2 months ago

We have an event for withdrawing a version:

user_version_withdrawn  

{
  "host": "dor-services-app-stage-a.stanford.edu",
  "version": "#<UserVersion:0x00007f1878a43ac0>",
  "withdrawn": false,
  "invoked_by": "argo"
}

If we can track the username (or SUnet) of the user who did the withdraw), we should include it in the event data.