A Policy Template is a collection of different policies based on the type of sensitive information detected.
When configuring policies for tables in a Ghost Database, it's possible to apply a policy template that will set the policy for all columns at once, instead of manually defining the policy for each column. After applying a policy template, it is still possible to make changes to individual columns if needed.
Creating a new Policy Template
To create a new Policy Template, navigate to the "Policy Template" tab, enter a "Name" and a "Default Action", and click "Add". Keep adding more Policy Templates as required and at the end click "Apply"
In most cases, Policy Templates should not have only the "Default Action" configured.
In the list of your configured Policy Templates click the gear icon next to the Policy Template you want to customize.
In this screen you can set the action for each entity. You can use the "Search" box to quickly find specific items. When done making changes here, click the "x" and click "Apply" on the main screen to save the configuration.
Creating new detectors
The Dymium platform comes with many built-in detectors for detecting PII and other sensitive information. It is also possible to create custom detectors. There are two ways to define custom detectors:
- Regular Expressions
- Using regular expressions allows Dymium to identify sensitive information specific to your situation when this information follows a specific format, such as internal customer IDs.
- User Defined
- User Defined allows Dymium to identify sensitive information specific to your situation that cannot be captured in a regular expression, such as secret internal project names.
In both cases the custom detectors can be used for column names as well as content/values.
Regular Expressions
To create a new Regular Expression detector, navigate to the "Detectors" tab, followed by the "Regular Expressions" sub tab
Enter the "Name" of the detector, whether it should be used for columns or content, and the actual regular expression and click "Add". When done adding regular expressions, click "Apply".
User Defined Patterns
To add User Defined Patterns, navigate to the "Detectors" tab, followed by the "User Defined" sub tab
You can either add patterns manually in the "User Defined Patterns" box and clicking "Add Patterns", separating them by commas or having one item per line. Or you can upload a file that follows the same format (comma separated or having one item per line). Adding items or uploading files will be in effect immediately.
Deleting patterns by clicking "Clear All Patterns", or deleting specific items also take effect immediately.