Skip to main content

Privacera Documentation

Test dictionaries

Pattern validation

If the dictionary is of type pattern, you can validate its regexes.

To validate a pattern, follow these steps:

  1. In the Dictionaries page, add a new dictionary of type 'Patterns'.

    The Add Dictionary field for the pattern type is displayed.

  2. Enter a complex Expression (regex).

  3. Enter the Description for the expression.

  4. Enter the Input Test Data.

  5. Click Test Expression.

The message "Passed" or "Failed" appears in the Test Output field.

Test against a data source

To test changes to a dictionary, follow these steps:

  1. Perform an offline scan of the data source that has sensitive fields you want to test.

  2. Check the Scan Status.

  3. After the scan is completed, open the resource to verify if the scan classified the tags correctly.

The tags are classified under Data Inventory > Classification.