Privacera Platform master publication

Patterns

:
Patterns are deprecated

Patterns are deprecated, embed patterns in Dictionaries instead.

Note

In a future release Discovery patterns will be removed from the left nav, because they are not used frequently. Instead, customers should now embed patterns in dictionaries. If you have any patterns in use, you should move them to dictionaries now.

Patterns are regular expressions (regexes) that match specific data elements in your data resources.

Privacera-supplied regular expressions can match common patterns like email addresses and URLs.

You can also define your own regexes to isolate patterns in your data to augment Privacera's patterns.

Add patterns

To add a pattern:

  1. From the navigation menu, select Discovery > Patterns.

  2. Click Add Pattern.

    The Add Pattern dialog is displayed.

  3. In the Pattern Name field, enter a pattern name.

  4. From the Applied On dropdown menu, select one of the following options:

    • All: Pattern matching is applied at the file level (default).

    • File Content: Pattern matching is applied to the content of the file.

    • File Name: Pattern matching is applied based on file name.

    • Table/Column Name: Pattern matching is applied based on table or column name.

  5. Using the Regex Status toggle, enable (default) or disable regexes.

  6. In the Expression field, enter an expression. For example, an expression for a bank account number might be b(d{9}\|d{12})b.

  7. In the Description field, enter a description.

  8. In the Input Test Data field, enter your test data.

  9. Click Test Expression to verify the expression you entered into the Input Test Data field.

    The test result is displayed in Test Output field.

  10. Click Save.

The pattern is added.

Edit patterns

To edit a pattern:

  1. On the Patterns page, locate the pattern you want to edit and click the Edit icon in the Actions column.

  2. Update the required fields.

  3. Click Save.

The pattern is updated.

Delete patterns

To delete a pattern:

  1. On the Patterns page, locate the pattern you want to delete and click the Delete icon in the Actions column.

    You are prompted with a message to confirm the deletion.

  2. Click Yes to delete the pattern.

The pattern is deleted.

Search for patterns

To search for a pattern, enter the pattern name in the search bar on the Patterns page and click Enter.

The search results are displayed.

Export JSON pattern files

To export patterns to a file in JSON format:

  1. On the Patterns page, click Export.

  2. Select the patterns you want to export and click Export.

The pattern file is exported.

Import JSON pattern files

To import a pattern file in JSON format:

  1. On the Patterns page, click Import.

  2. Select the JSON file you want to import and click Save.

The pattern file is imported.

List of Privacera-supplied patterns

The following is a list of the Privacera-supplied patterns. You can view details about each of the patterns from the Patterns page.

  • ACCOUNT

  • CREDIT_CARD

  • EMAIL

  • FINANCIAL

  • IPV4

  • IPV6

  • MAC_ADDRESS

  • STREET_ADDRESS

  • UK_DRIVER_LICENSE

  • UK_ELECTORAL

  • UK_NINO

  • UK_POSTAL_CODE

  • UK_US_PASSPORT

  • URL

  • ZIPCODE