Allow configuration of "scrub_fields"

Created on 18 December 2023, about 1 year ago
Updated 4 January 2024, about 1 year ago

Problem/Motivation

Some events reported by Rollbar include potentially sensitive information (e.g. access tokenes).

Rollbar provides a "scrub_fields" configuration option to allow these data fields to be scrubbed: See https://docs.rollbar.com/docs/php-configuration-reference

scrub_fields: An array of field names to scrub out of the entire payload excluding the top level access_token. Values will be replaced with asterisks. If overriding, make sure to list all fields you want to scrub, not just fields you want to add to the default. Param names are converted to lowercase before comparing against the scrub list.

Currently, the Rollbar module does not support configuration of scrub_fields.

It would be useful it were possible to configure scrub_fields from the Rollbar settings form.

Proposed resolution

Add a "scrub_fields" configuration field to `RollbarSettingsForm`.

Feature request
Status

Fixed

Version

2.1

Component

Code

Created by

🇬🇧United Kingdom Leo Pitt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024