Raven::Processor::SanitizeSSN
This is a processor plugin for the Sentry Raven client that enables sanitizing Social Security numbers from data sent to Senty.
DEPRECATION NOTICE: This gem is deprecated as of
sentry-raven 0.11.1
; this functionality is now available in the core Sentry Raven client gem.
Installation
$ gem install raven-processor-sanitizessn
Usage
Add this processor to the processors
method of a Raven config
block. You may also want to include Raven's default processor Raven::Processor::SanitizeData
, or it will become disabled when you override the processors
list.
require 'raven/processors/sanitizessn'
Raven.configure do |config|
config.processors = [Raven::Processor::SanitizeData, Raven::Processor::SanitizeSSN]
end
Author
Matt Greensmith for Cozy
This processor is a modified version of the sanitizedata.rb processor from the sentry-raven gem. All source licensing applies.