MaskStrategy
objectMask detected values by replacing part of the text with a masking character.
typestring
Operator type. Must be ‘mask’.
Default:mask
masking_charstring
Character used to mask text.
Default:*
chars_to_maskinteger
Number of characters to mask.
Default:5
>= 1
from_endboolean
If true, masks characters from the end of the detected value.
Default:false
Example
RedactStrategy
objectRedact detected values completely.
typestring
Operator type. Must be ‘redact’.
Default:redact
Example
ReplaceStrategy
objectReplace detected values with a caller-provided fixed value.
typestring
Operator type. Must be ‘replace’.
Default:replace
new_valuestringrequired
Replacement text to use for the detected value.
Example
SubstituteStrategy
objectSubstitute detected values with realistic synthetic data using the Faker library.
typestring
Operator type. Must be ‘substitute’.
Default:substitute
attributestring
Faker attribute to use for substitution (for example: name, address, company).
Default:name
Example
ValidationError
objectloc
Any Ofarrayrequired
Variant 1string
msgstringrequired
typestringrequired
input
ctxobject
Example