HashStrategy
objectHash detected values using SHA-256.
Operator type. Must be ‘hash’.
Default:hash
MaskStrategy
objectMask detected values by replacing part of the text with a masking character.
Operator type. Must be ‘mask’.
Default:mask
Character used to mask text.
Default:*
Number of characters to mask.
Default:5
>= 1
If true, masks characters from the end of the detected value.
Default:false
RedactStrategy
objectRedact detected values completely.
Operator type. Must be ‘redact’.
Default:redact
ReplaceStrategy
objectReplace detected values with a caller-provided fixed value.
Operator type. Must be ‘replace’.
Default:replace
Replacement text to use for the detected value.
SubstituteStrategy
objectSubstitute detected values with realistic synthetic data using the Faker library.
Operator type. Must be ‘substitute’.
Default:substitute
Faker attribute to use for substitution (for example: name, address, company).
Default:name