Data Mask Configuration
Parameters
See plugin common configurations for configuration options available to all plugins.
-
request—array[object]· optionalAn array of actions to mask sensitive information in the request.
-
type—string· requiredValid values:
query,header, orbodyLocation where sensitive information should be masked.
-
body_format—string· optionalValid values:
jsonorurlencodedEncoding of the request body. Required when
typeisbody. -
name—string· requiredName of the information field that contains sensitive data. For JSON body, you can use JSONPath syntax.
-
action—string· requiredValid values:
regex,replace, orremoveAction to mask the sensitive data.
-
regex—string· optionalRegular expressions to match the sensitive data. Required when
actionisregex. -
value—string· optionalValue to replace the sensitive data with. Required when
actionisregexorreplace.
-
-
max_body_size—integer· optional · default:1048576Maximum body size allowed in bytes. If a request's body size exceeds the configured value, data masking rules will be ignored.
-
max_req_post_args—integer· optional · default:100Valid values: greater than or equal to 0
Maximum number of URL-encoded form fields to parse when masking request body data with
body_formatset tourlencoded.