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
, orbody
Location where sensitive information should be masked.
body_format
string
vaild vaule:
json
orurlencoded
Encoding of the request body. Required when
type
isbody
.name
string
vaild vaule:
json
orurlencoded
Name of the information field that contains sensitive data. For JSON body, you can use JSONPath syntax.
action
string
vaild vaule:
regex
,replace
, orremove
Action to mask the sensitive data.
regex
string
Regular expressions to match the sensitive data. Required when
action
isregex
.value
string
Value to replace the sensitive data with. Required when
action
isregex
orreplace
.value
string
Value to replace the sensitive data with. Required when
action
isregex
orreplace
.
max_body_size
integer
default:
1048576
Maximum body size allowed in bytes. If a request's body size exceeds the configured value, data masking rules will be ignored.