Class TinValueMasker
java.lang.Object
com.helixframework.logstash.mask.internal.TinValueMasker
- All Implemented Interfaces:
net.logstash.logback.mask.ValueMasker
ValueMasker that masks Tax Identification Numbers (SSNs).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty to set the mask string.static final StringProperty to enable masking of everything but last 4 digits.static final StringProperty that specifies the context name of the log message field in the logstash json object.static final StringProperty to enable strict regex matching. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROP_MASK
Property to set the mask string.- See Also:
-
PROP_MASK_LASTFOUR
Property to enable masking of everything but last 4 digits.- See Also:
-
PROP_MASK_STRICT
Property to enable strict regex matching. If enabled, only exact matches will be masked (i.e. TINs contained within larger strings will not be masked).- See Also:
-
PROP_MASK_MESSAGE_FIELD_NAME
Property that specifies the context name of the log message field in the logstash json object. (Defaults to 'message')- See Also:
-
-
Constructor Details
-
TinValueMasker
Creates a new instance ofTinValueMasker.- Parameters:
props- helix-logstash.properties
-
-
Method Details
-
mask
- Specified by:
maskin interfacenet.logstash.logback.mask.ValueMasker
-