Microgateway 10.7 | webMethods Microgateway Help | Policies | Error Handling | Data Masking
 
Data Masking
Data masking is a technique whereby sensitive data is obscured in some way to render it safe and to protect the actual data while having a functional substitute for occasions when the real data is not required.
This policy is used to mask sensitive data in the custom error messages being processed and sent to the application. Fields can be masked or filtered in the error messages. You can configure the masking criteria as required for the XPath, JPath, and Regex expressions. This policy can also be applied at the API scope level.
The table lists the masking criteria properties that are supported for this policy in Microgateway to mask the data in the error messages received:
Parameter
Description
Consumer Applications
Specifies the applications for which the masking criterion has to be applied.
XPath. Specifies the masking criteria for XPath expressions in the error messages.
Masking Criteria
Specifies the masking criteria that contains the following information:
*Masking Type. Specifies the type of masking required. You can have either Mask or Filter. Mask replaces the value with the given value (the default value being ********) and Filter removes the field completely.
*Query expression. Specifies the query expression that has to be masked or filtered. For example: /soapenv:Fault/faultstring
*Mask Value. This is available if masking type selected is Mask. Provide a mask value. For example: Error occurred while processing the request. Please check your input request or any other meaningful message or string.
Note:
You can have multiple masking criteria.
*Namespace. Specifies the following Namespace information:
*Namespace Prefix. The namespace prefix of the payload expression to be validated.
*Namespace URI. The namespace URI of the payload expression to be validated
Note:
You can have multiple namespace prefix and URI.
JPath. Specifies the masking criteria for JPath expressions in the error messages.
Masking Criteria
Specifies the masking criteria that contains the following information:
*Masking Type. Specifies the type of masking required. You select either Mask or Filter. Mask replaces the value with the given value (the default value being ********) and Filter removes the field completely.
*Query expression. Specify the query expression that has to be masked or filtered. For example: $.error.reason
*Mask Value. This is available if masking type selected is Mask. Provide a mask value. For example: Error occurred while processing the request. Please check your input request or any other meaningful message or string.
Regex. Specifies the masking criteria for regular expressions in the error messages.
Masking Criteria
Specifies the masking criteria that contains the following information:
*Masking Type. Specifies the type of masking required. You select either Mask or Filter. Mask replaces the value with the given value (the default value being ********) and Filter removes the field completely.
*Query expression. Specify the query expression that has to be masked or filtered. For example: (.*)
*Mask Value. This is available if masking type selected is Mask. Provide a mask value. For example: Error occurred while processing the request. Please check your input request or any other meaningful message or string.
Apply for transaction Logging
Select this option to apply masking criteria for transactional logs.
Apply for payload
Select this option to apply masking criteria for payload.