Field Masker
The Field Masker masks string values based on the selected mask type. You can use variable-length, fixed-length, custom, or regular expression masks. Custom masks can reveal part of the string value.
Use the Field Masker to mask sensitive string data. For example, you might use a custom mask to mask the last four digits of a phone number.
Tip: To mask non-string data, you might use the Field Type Converter processor to
convert non-string data to String, then pass the data to the Field Masker.
Mask Types
You can use the following mask types to mask data:
- Fixed-length
- Replaces values with a fixed-length mask. Use when you want to mask variations in the length of the data.
- Variable-length
- Replaces values with a variable-length mask. Use when you want to reveal the lengths of the original data.
- Custom
- Replaces values with a mask based on a user-defined pattern. When you define the pattern for the mask, you can use a hash mark (#) to reveal the character in that location. All other characters are used as constants in the mask.
- Regular Expression
- Replaces groups of values with a variable-length mask. You define the data structure with a regular expression, using parentheses to define groups of values. You can optionally specify any groups of data that you do not want to mask. If you do not specify groups, Field Masker masks all values.
Configuring a Field Masker Processor
Configure a Field Masker to mask
sensitive data.