Parameters
See plugin common configurations for configuration options available to all plugins.
request
array[object]
An array of actions to mask sensitive information in the request.
type
string
vaild vaule:
query,header, orbodyLocation where sensitive information should be masked.
body_format
string
vaild vaule:
jsonorurlencodedEncoding of the request body. Required when
typeisbody.name
string
vaild vaule:
jsonorurlencodedName of the information field that contains sensitive data. For JSON body, you can use JSONPath syntax.
action
string
vaild vaule:
regex,replace, orremoveAction to mask the sensitive data.
regex
string
Regular expressions to match the sensitive data. Required when
actionisregex.value
string
Value to replace the sensitive data with. Required when
actionisregexorreplace.value
string
Value to replace the sensitive data with. Required when
actionisregexorreplace.
max_body_size
integer
default:
1048576Maximum body size allowed in bytes. If a request's body size exceeds the configured value, data masking rules will be ignored.