airbrake/airbrake — pull request #290 by omerisimo (2014-05-09 16:43:31+00:00)
Title: Add ability to define whitelist filters for parameters

I found that filtering parameters from being sent to Airbrake using the :params_filters attribute is something that I constantly need to update and think about. (In my company we need to make sure no personal customer's information is shared with 3rd party services)

Since there is only a small number of parameters I actually care about when examining and Airbrake notification, I think that the ability to whitelist the parameters I am interested in, is a simpler, safer approach.

By setting the :params_whitelist_filters list, all other parameters will be filtered (and their content replaced).
If a parameter is both whitelisted and "blacklisted" it will be filtered.