PiiRedactConfig
Configuration for the guard.piiRedact() middleware.
Properties
Section titled “Properties”custom?
Section titled “custom?”
optionalcustom?:object[]
Custom patterns with placeholder text.
pattern
Section titled “pattern”pattern:
RegExp
placeholder
Section titled “placeholder”placeholder:
string
types?
Section titled “types?”
optionaltypes?:PiiType[]
Which PII types to detect. Default: all types.