-
Notifications
You must be signed in to change notification settings - Fork 283
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
Clarify in configuration.md docs if regexp allowed for scrub_fields #413
Comments
Hi @eliotsykes, thanks for reaching out. When we filter the parameters we build a regex in this way:
So I'd say that regex expressions doesn't work for scrubbing parameters. We have in our roadmap improve this functionality, but I can't tell you right now when that will be ready. |
Thanks for the fast response @jondeandres! Until the feature is added, is there a recommended workaround to prevent all request params from being logged to Rollbar? |
Hey @eliotsykes, you could monkey patch this method in this module, https://github.com/rollbar/rollbar-gem/blob/master/lib/rollbar/request_data_extractor.rb#L191-L213, so it generates a new I think we should probably make scrubbing more powerful, so thank you for open an issue 😄 |
Yep - at the moment this makes it less straightforward to recommend Rollbar to businesses operating under strict PII regulations. |
@eliotsykes what requirements do you have? We could try to work on this in few days. |
There's many request params (100+) from many forms (and growing) that all contain PII data. This PII data ought not to be exposed to 3rd parties (including Rollbar). Exception messages are fine as they contain no PII. Its the request params that often contain personally identifiable info (e.g. birthday, financial info, more). |
aha, what features would you like to have?
|
would be absolutely fine for right now. |
This PR allows set the `scrub_fields` configuration option to have value `:scrub_all` so every parameter will be scrubbed. This is useful if the privacity policy if very heavy. Closes #413
This PR allows set the `scrub_fields` configuration option to have value `:scrub_all` so every parameter will be scrubbed. This is useful if the privacity policy if very heavy. Closes #413
👍 Brilliant, thanks @jondeandres! |
hey @eliotsykes, we hope your experience with this feature is successful. ping us if you have any problem with something. btw, we'll release this today or tomorrow. |
I'm looking at an app that contains many sensitive fields so I'd like to default to scrubbing all fields as they shouldn't be logged to a 3rd party (no offence intended Rollbar).
Its unclear from the docs (configuration.md) if the
scrub_fields
config accepts a regex, e.g. its not clear if this would work.The text was updated successfully, but these errors were encountered: