class Raven::Processor::SanitizeData
- Raven::Processor::SanitizeData
- Raven::Processor
- Reference
- Object
Defined in:
raven/processors/sanitize_data.crConstant Summary
-
CREDIT_CARD_PATTERN =
/\b(?:3[47]\d|(?:4\d|5[1-5]|65)\d{2}|6011)\d{12}\b/
-
DEFAULT_FIELDS =
["authorization", "password", "password_repeat", "passwd", "secret", "ssn", /social(.*)?sec/i]
Constructors
Instance Method Summary
-
#process(key, value)
ameba:disable Metrics/CyclomaticComplexity
- #process(data)
- #sanitize_credit_cards=(sanitize_credit_cards : Bool)
- #sanitize_credit_cards? : Bool
- #sanitize_fields : Array(String | Regex)
- #sanitize_fields=(sanitize_fields : Array(String | Regex))
- #sanitize_fields_excluded : Array(String | Regex)
- #sanitize_fields_excluded=(sanitize_fields_excluded : Array(String | Regex))