This article contains information on using proximity operators in Content Examination definitions, allowing policies to trigger based on the distance between search terms, with a default proximity of 300 characters.
Below are examples of using proximity operators as part of a Content Examination definition. This information should be utilized after reading the following pages:
The proximity operator allows administrators to specify if a policy triggers when a search term is found within a specified number of characters of another search term. If no proximity value is specified, the default value for a match is 300 characters. No content match is triggered if a match is found outside of the specified proximity distance.
When using the proximity operator, consider the following:
-
-
- There is no limit on the distance that the proximity operator can specify.
- Blank spaces count as characters.
- Mimecast Managed Reference Dictionaries (MMRDs) and Reference Dictionaries can be used with the proximity operator.
- The proximity value is calculated by the number of characters from the end of the first search word/phrase until the first character of the second search word/phrase (including blank spaces and special characters).
-
Proximity Example
Take the following proximity example:
Here is my credit card number for you to use 1234 5678 1234 5678.
The proximity value is 17, as there are 17 characters between the end of the phrase "credit card number" and the first character of the credit card number, "1234 5678 1234 5678".
| Word / Phrase Match List | Email Content Required to Trigger Definition |
|---|---|
| 1 ("Credit Card Number") Proximity:17 (regex cardnumber 4(?<=\b(?<!\.)4)\d{3}[\W\s]?\d{4}[\W\s]?\d{4}[\W\s]?\d{4}\b) | The following text would cause the policy to trigger as both Term 1 and Term 2 meet the configured requirements:
Here is my credit card number for you to use 4111 1111 1111 1111.Also, if Term 1 is less than 17 characters from Term 2, a content match still occurs as the matching criteria is a range rather than an absolute distance. The following text would not match as Term 1 and Term 2 are more than 17 characters apart: Here is my credit card number for you to use to book the hotel 4111 1111 1111 1111. |
Comments
Please sign in to leave a comment.