Skip to main content

Privacera Documentation

Add patterns

To add a pattern, do the following:

  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.