Sanitize Integers, especially SSNs

- Add functionality to sanitize `Integer` values
- Add Social Security Number patterns to sanitizer regex.
I disagree, and think we should capture any instance of `ssn` in a key
name, eg. `customer_ssn`. I can't think of any case where a key name would
contain the  sequence `ssn` and we would not want to sanitize it. Do you
have any example?
On Sep 19, 2014 12:15 PM, "Rob Galanakis" <notifications@github.com> wrote:

> In lib/raven/processors/sanitizedata.rb:
>
> > @@ -5,8 +5,9 @@ module Raven
> >    module Processor
> >      class SanitizeData < Processor
> >
> > -      MASK = '********'
> > -      FIELDS_RE = /(authorization|password|passwd|secret)/i
> > +      STRING_MASK = '********'
> > +      INT_MASK = 0
> > +      FIELDS_RE = /(authorization|password|passwd|secret|ssn|social(.*)?sec)/i
>
> Sorry, last comment was unclear. I would restrict the ssn to the start of
> the string (^ssn).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/CozyCo/raven-ruby/pull/1/files#r17803719>.
>