-
- Downloads
Save user ID and username in Grape API log (api_json.log)
This will enable admins to identify who actually made the API request. Relates to #36960
Showing
- changelogs/unreleased/sh-store-user-in-api-logs.yml 5 additions, 0 deletionschangelogs/unreleased/sh-store-user-in-api-logs.yml
- lib/api/api.rb 2 additions, 1 deletionlib/api/api.rb
- lib/api/helpers.rb 7 additions, 0 deletionslib/api/helpers.rb
- lib/gitlab/grape_logging/loggers/user_logger.rb 18 additions, 0 deletionslib/gitlab/grape_logging/loggers/user_logger.rb
- spec/requests/api/helpers_spec.rb 6 additions, 0 deletionsspec/requests/api/helpers_spec.rb
Please register or sign in to comment