Create a rule set for flat data files
Use this task to create a rule set that defines which flat data files a file connector will include in discovery and masking operations.
Before you start, create the file connector and data formats you will use. See Create a file connector and Create a data format.
Steps
-
In the left navigation pane, click Compliance > Rule Sets.
-
Click + Rule Set, select Flat Files, and click Continue.
-
In the Details step:
-
Enter the rule set name.
-
Select the Purpose:
-
Mask — for masking and discovery jobs.
-
Tokenize — for tokenization, re-identification, and discovery jobs.
Purpose cannot be changed after the rule set is created. -
-
(Optional) Add tags: enter a Tag Key and Tag Value, then click + Tag.
-
Select the file Connector associated with the data files.
-
-
Click Next.
-
In the Data Files step, add the files to include in this rule set:
-
Click + Add File to add a specific file, or + Add Pattern to add files matching a name pattern.
-
In the Add File dialog, select one or more files from the connector's file path.
-
Set the file properties:
-
Format File — select the data format that describes the file structure.
-
End of Record — select the end-of-line character used in the file (for example, LF terminated (Unix)).
-
Delimiter — enter the character that separates fields. Use a control character code for special characters (for example, $[09] for Tab or $[0A] for Line Feed).
-
Text Enclosure — (optional) enter the character used to enclose field values, such as a double quote.
-
Enclosure Escape Strategy — select how enclosure characters inside a field are escaped (for example, Double Enclosure).
-
-
Click Add.
-
Repeat for each file to include.
-
-
Click Next.
-
In the Summary step, review all details. Click Back to make changes, or click Submit to create the rule set.