HTTPValidationError
objectdetailarray[object]
Show Child Parameters
Example
HashStrategy
objectHash detected values using SHA-256.
typestring
Operator type. Must be ‘hash’.
Default:hash
Example
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