Configuring masking rules

Masking rules allow you to mask personal data in file paths, selected properties, and individual event parameters in addition to the built-in data masking. You can hide either entire values or specific parts of a value.

Masking rules are available in the Custom data masking mode. For more information, see Data masking.

Configuration: DOC > Administration > Accounts > Data masking

Configuring masking rules

  1. Enable data masking and select the Custom data masking mode.

  2. Click Configure and open the Masking rules tab.

  3. Enable the required rule types and configure the corresponding masking rules as described below.

  4. Save the configuration.

Full and partial masking

For each masking rule, you can specify a regular expression (RegEx) under Pattern. This determines which parts of a value are masked.

  • Without a pattern: The entire value is masked.

  • Pattern without a capturing group: The entire string matching the regular expression is masked.

  • Pattern with a capturing group: Only the part matched by the capturing group is replaced with asterisks (*). The remaining parts stay visible.

Rules for file paths

File path rules allow you to mask personal information, such as user names in directory paths. The rules are applied only to values recognized as file paths.

Predefined patterns are already available for typical user directories on Windows, Linux, and macOS, as well as network paths.

  1. Enable Enable file path rules.

  2. Click the plus sign to the right of the table to add a new rule.

  3. Enter a regular expression under Pattern and, if necessary, add a Comment.

  4. Save the new rule using the save icon in the table row.

You can remove existing rules and restore the predefined patterns using Reset to defaults.

Rules for selected properties

These rules allow you to mask specific properties. The property is identified by its name and, if applicable, its schema.

  1. Enable Enable rules for selected properties.

  2. Click the plus sign to the right of the table.

  3. Under Property, enter the name of the property to be masked.

  4. If necessary, specify the associated schema under Schema. Without a schema, the rule applies to this property in all schemas.

  5. Optionally, specify a Pattern and a Comment.

  6. Save the rule using the save icon in the table row.

Rules for event parameters

These rules allow you to mask individual parameters of specific events. This is particularly useful for event parameters whose contents are not already covered by the built-in data masking.

  1. Enable Enable event parameter rules.

  2. Click the plus sign to the right of the table.

  3. Specify the Event ID.

  4. Select the Event source ID.

  5. Under Parameter, enter the number of the event parameter to be masked.

  6. Optionally, specify a Pattern and a Comment.

  7. Save the rule using the save icon in the table row.

A separate rule must be defined for each event parameter to be masked. To mask multiple parameters of the same event, create a separate rule for each parameter.

Importing and exporting masking rules

You can export and import masking rules using Export and Import, respectively.