laravel-rollbar icon indicating copy to clipboard operation
laravel-rollbar copied to clipboard

Scrubber Issues

Open jschlies opened this issue 5 years ago • 1 comments

  1. Unable to scrub a particular cookie from data - OK maybe this is a feature.
  2. Namespace issue. Let's say I have a GET param (I admit, poorly) named Cookie. But I also want the RollBar to remove Cookie from the REQUEST headers. The configuration below would remove the value Cookie from the request, but also from the get.

'rollbar' => [ 'enabled' => env('ROLLBAR_ENABLED_ON_SERVER', false), 'root' => base_path(), 'environment' => env('APP_ENV', 'local'), 'access_token' => env('ROLLBAR_SERVER_TOKEN', null), 'person_fn' => 'get_current_user_rollbar', 'level' => 'error', 'scrub_fields' => [ 'Cookie' ], ],

I would expect to be able to ref data for scrubbing as follows 'scrub_fields' => [ 'request.headers.Cookie' ],

jschlies avatar Jul 16 '18 19:07 jschlies