jenssegers / laravel-rollbar

Rollbar error monitoring integration for Laravel projects
329 stars 99 forks source link

Scrubber Issues #97

Open jschlies opened 6 years ago

jschlies commented 6 years ago
  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' ],

EvilTwin01 commented 3 years ago

is there any updates on this?