Importing Masking Patterns

Only XML files can be used to import patterns.

To import a pattern:
  1. From the Partition and Departments dropdown menu, go to the partition space.

  2. In the Navigation menu, browse to Security > Data Masking > Patterns.

  3. n the List page toolbar, click the Import/Export button.

  4. From the dropdown menu, select the Import Pattern option.

  5. In the Import patterns window, provide the location of the XML file. Click Upload.

import pattern

You are also notified if the import process will overwrite existing patterns.

If the file has any issues, the import process is aborted and the user is notified about the same. Some of the issues with the file can be:

  • The type of file is not XML.

  • The size of the imported file is more than 10 MB.

  • XML is malformed.

  • The values for the Name, Description, JavaScript Regular Expression, and Java Regular Expression fields are more than the allowed size.

  • A custom pattern is defined as the default pattern.

  • A default pattern is not defined as the default pattern.

  • The Javascript regular expression defined in the file is not correct.

  • The Java regular expression defined in the file is not correct.

  • You are deactivating a pattern that is in use.

Related Topics