Masking Data in Property Format Payloads
You can mask data in the property format payloads using the <PropertiesMaskFields> tag in the log policy XML file. Using the <PropertyToMask>, define the fields for the data masking. This table explains the field names for masking the data in a property format payload.
Parameter | Description |
---|---|
PropertyKey | Defines the key of the property to be masked. The Core Engine masks the value of key after the key is found. |
RemoveField |
This is a Boolean field that indicates if the field specified by MaskFieldPath tag is logged or not. The possible values are Y and N. |
StartIndex | Specifies an index of the field value at which masking starts. If the RemoveField field is set to Y, this is ignored. |
EndIndex | Specifies an index of the field value at which masking ends. Specifies an Index of the field value at which masking starts. If the RemoveField field is set to Y, this is ignored. |
LengthOfClearAtStart | Specifies the number of characters to be left clear at the beginning. Specifies an index of the field value at which masking starts. If the RemoveField field is set to Y, this is ignored. |
LengthOfClearAtEnd | Specifies the number of characters to be left clear at the end. Specifies an index of the field value at which masking starts. If the RemoveField field is set to Y, this is ignored. |
Example of Data Masking in Property Format Payload
<PropertiesMaskFields> <PropertyToMask> <PropertyKey>Tibco</PropertyKey> <RemoveField>N</RemoveField> <StartIndex>3</StartIndex> <EndIndex>9</EndIndex> <LengthOfClearAtStart>2</LengthOfClearAtStart> <LengthOfClearAtEnd>2</LengthOfClearAtEnd> </PropertyToMask> <PropertyToMask> <PropertyKey>CC</PropertyKey> <RemoveField>N</RemoveField> <StartIndex>3</StartIndex> <EndIndex>9</EndIndex> <LengthOfClearAtStart>4</LengthOfClearAtStart> <LengthOfClearAtEnd>6</LengthOfClearAtEnd> </PropertyToMask> </PropertiesMaskFields>
Copyright © Cloud Software Group, Inc. All rights reserved.