Information in the logs can be personally-identifiable or sensitive information, for example, user names, email addresses, phone numbers that you may not want to disclose. Sensitive information should be exposed only to the authorized users from whom there is no risk of security violations. To avoid any potential security pitfall, you can mask the personally-identifiable or sensitive information.
In Adeptia Connect, when a user takes a look at the logs in the Dashboard Transactions section, there are several information which may not be applicable or allowed for the user to see. Some of the sections where you find sensitive information include Repository, Execution Details, Context Info, and Reference column.
This feature is supported only when GAC is enabled.
Configuring masking
You can mask sensitive information to ensure that they are not exposed to unauthorised users. There are two steps you need to follow to configure masking.
Adeptia Connect contains two XML files wherein you can define properties and patterns to mask the sensitive details. You will find the two files finders.xml and mask.properties at …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location. Follow the steps below to update the files in the same order as mentioned here.
Updating mask.properties file
Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
Open mask.properties file.
Add the names of the fields which contain sensitive information (for example, Email, SSN, Phone) and need to be masked. The following examples explain how the field names should be added. Email=email@XXXX.XXXX SSN-spaces=XXX XX XXXX SSN-dashes=XXX-XX-XXXX USPhone-Formatted=XXX-XXX-XXXX
Save the file.
Updating finders.xml file
Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
Open finders.xml file.
Add a set of code here for the fields you have defined in the mask.properties file. The following example illustrates what and how should be the code.
name - Name of the field whose value you want to mask.
pattern - Pattern in which the masked information will be visible to the user.
enabled - The property to be set to true if you want to show that information as masked.
Save the file.
Enabling the View User Data property
View User Data property is available on Define Standard Entities Permissions window which comes in course of creation of a roleby an authorized user. If you clear this View User Data check box, the users with this role will not be able to see the sensitive information which you have masked in the two XML files discussed above. By default, this property is enabled.
Only a System Admin and an IT User can create a role.
Log details impacted by masking
When you enable masking, the following sections are impacted and they will not display the details which you were able to see before masking.
File names under the Reference column will be masked.
In Transaction execution details, the links View Source Data and View Repository will not be visible.
The Repository option under the Action menu will be hidden.
The Context Info sections under the Action menu will display only the details which are not masked.
The sensitive information in some of the fields in the EDI logs is also masked for unauthorized users. For more details, visit this page.
The masked information in these sections will be shown as per the pattern defined in the mask.properties file.