Skip to main content

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, or body


      Location where sensitive information should be masked.

    • body_format

      string


      vaild vaule:

      json or urlencoded


      Encoding of the request body. Required when type is body.

    • name

      string


      vaild vaule:

      json or urlencoded


      Name of the information field that contains sensitive data. For JSON body, you can use JSONPath syntax.

    • action

      string


      vaild vaule:

      regex, replace, or remove


      Action to mask the sensitive data.

    • regex

      string


      Regular expressions to match the sensitive data. Required when action is regex.

    • value

      string


      Value to replace the sensitive data with. Required when action is regex or replace.

    • value

      string


      Value to replace the sensitive data with. Required when action is regex or replace.

  • 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.


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IRed Herring

Copyright © APISEVEN Ltd. 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation