Have you ever experienced a false positive before? Was it a tracking number that resembled a credit card number? With Negative Detection Patterns, you can effectively exclude these numbers from Blackthorn Compliance detection. All you need to do is create your own patterns for international phone numbers, UPS, USPS, Fedex, and other common false positives numbers.
Important:
- Numbers matched with Negative Patterns are not masked nor are logs created. No action is the correct action for Negative Patterns.
- It is possible for a record to have both valid credit card numbers and false positives.
- It is also possible for the same number to be both a valid credit card number and a false positive.
Create Negative Detection Patterns
-
Navigate to Setup > Custom Code > Custom Metadata Types > DetectionPattern > Manage DetectionPattern.
-
Click New.
-
Enter a
Label
.
Must be unique - cannot be the same as other pattern names -
Enter a
DetectionPattern Name
.
Must be unique - cannot be the same as other pattern names -
Enter a
Pattern
.
This pattern must be a valid Regular Expression. Try a free tool like this to check whether your regex is valid. -
Check
Negative Pattern
.
This field must be true -
Check
Partial Match
.
[Optional] skips the entire field if a negative pattern is matched. -
Check the box
IsActive
. -
Click Save.