Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrub_fields to accept list of regex-es. Feature request. #1103

Open
bytnar opened this issue Sep 12, 2022 · 0 comments
Open

scrub_fields to accept list of regex-es. Feature request. #1103

bytnar opened this issue Sep 12, 2022 · 0 comments

Comments

@bytnar
Copy link

bytnar commented Sep 12, 2022

Rails.application.config.filter_parameters allows to provide collection of regex-es
like

Rails.application.config.filter_parameters += [
    /email/,
    /name/,
]

would be good to have rollbar supporting regex list too so that scrubbing fields could be easily configure like this:

config.scrub_fields |= Rails.application.config.filter_parameters

Currently rollbar respects list of symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants