![]()
Create customized expressions if none of the predefined expressions meet the company's requirements.
Expressions are a powerful string-matching tool. Become comfortable with expression syntax before creating expressions. Poorly written expressions can dramatically impact performance.
When creating expressions:
Refer to the predefined expressions for guidance on how to define valid expressions. For example, when creating an expression that includes a date, refer to the expressions prefixed with "Date".
Note that Data Loss Prevention follows the expression formats defined in Perl Compatible Regular Expressions (PCRE). For more information on PCRE, visit the following website:
Start with simple expressions. Modify the expressions if they are causing false alarms or fine tune them to improve detections.
Administrators can choose from several criteria when creating expressions. An expression must satisfy the chosen criteria before Data Loss Prevention subjects it to a DLP policy.
|
Criteria |
Rule |
Example |
|
None |
None |
All - Names from US Census Bureau
|
|
Specific characters |
An expression must include the characters you have specified. In addition, the number of characters in the expression must be within the minimum and maximum limits. |
US - ABA Routing Number
|
|
Suffix |
Suffix refers to the last segment of an expression. A suffix must include the characters you have specified and contain a certain number of characters. In addition, the number of characters in the expression must be within the minimum and maximum limits. |
All - Home Address
|
|
Single- character separator |
An expression must have two segments separated by a character. The character must be 1 byte in length. In addition, the number of characters left of the separator must be within the minimum and maximum limits. The number of characters right of the separator must not exceed the maximum limit. |
All - Email Address
|