dcramer/raven — Issue #57: Generic processor class
Author: gtaylor
Created: 2012-02-02 20:36:01+00:00
State: open

I expect there will be lots of people wanting to sanitize sensitive information while using Sentry. Seems like it may be a good idea to have a generic processor that can be overridden directly with just the keys to mask.

https://github.com/dcramer/raven/blob/master/raven/processors.py

For example:

```python
class MyProcessor(GenericKeyMaskerProcessor):
masked_keys = ['cc_num', 'password', 'cvn']
```

I could probably be talked into a pull request for this, if you think the idea is OK.