Data Loss Prevention comes with a few default rules, as shown in the following table.
Rule Name |
Example |
Regular Expression |
---|---|---|
Visa Card account number |
4111-1111-1111-1111 |
.REG. \b4\d{3}\-?\x20?\d{4}\-?\x20?\d{4}\-?\x20?\d{4}\b |
MasterCard account number |
5111-1111-1111-1111 |
.REG. \b5[1-5]\d{2}\-?\x20?\d{4}\-?\x20?\d{4}\-?\x20?\d{4}\b |
American Express account number |
3111-111111-11111 |
.REG. \b3[4,7]\d{2}\-?\x20?\d{6}\-?\x20?\d{5}\b |
Diners Club/Carte Blanche account number |
3111-111111-1111 |
.REG. [^\d-]((36\d{2}|38\d{2}|30[0-5]\d)-?\d{6}-?\d{4})[^\d-] |
IBAN |
BE68 5390 0754 7034, FR14 2004 1010 0505 0001 3M02 606, DK50 0040 0440 1162 43 |
.REG. [^\w](([A-Z]{2}\d{2}[-|\s]?)([A-Za-z0-9]{11,27}|([A-Za-z0-9]{4}[-|\s]){3,6}[A-Za-z0-9]{0,3}|([A-Za-z0-9]{4}[-|\s]){2}[A-Za-z0-9]{3,4}))[^\w] |
Swift BIC |
BANK US 99 |
.REG. [^\w-]([A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?)[^\w-] |
ISO date |
2004/01/23, 04/01/23, 2004-01-23, 04-01-23 |
.REG. [^\d\/-]([1-2]\d{3}[-\/][0-1]?\d[-\/][0-3]?\d|\d{2}[-\/][0-1]?\d[-\/][0-3]?\d)[^\d\/-] |
A zip file containing more DLP rules can be downloaded from the web console. Navigate to Download more default rules.
and click