compliance_template_expressions

Compliance Template Expressions

An expression is data that has a certain structure. For example, credit card numbers typically have 16 digits and appear in the format "nnnn-nnnn-nnnn-nnnn", making them suitable for expression-based detections.

ScanMail comes with a set of predefined expressions. These expressions cannot be modified, copied, exported, or deleted.

ScanMail verifies these expressions using pattern matching and mathematical equations. After ScanMail matches potentially sensitive data with an expression, the data may also undergo additional verification checks.

The following table lists the predefined expressions and the additional verification tasks that ScanMail performs, if any.

Predefined Expressions

Name

Description

Additional Verification

All - Credit Card Number

Credit Card Number

ScanMail checks the prefix and further verifies it with the Luhn checksum, a widely used algorithm for validating identification numbers.

All - Email Address

Email Address

None

All - Home Address

Home addresses in the United States of Amer­ica and the United Kingdom

None

All - IBAN (Inter­national Bank Account Number)

International Bank Account Number

ScanMail verifies the International Bank Account Number, which has sev­eral different formats depending on the country of origin. The first two let­ters define the country code. ScanMail also verifies the format for the specific country code.

All - Names from US Census Bureau

American
people's name

ScanMail verifies first and last names from the US Census Bureau, up to the year 1990.

All - Swift BIC

SWIFT Business Identifier Codes

ScanMail verifies the Society for Worldwide Interbank Financial Tele­communication (SWIFT) Bank Identi­fier Code (BIC).

Swift-BIC is also known as the BIC code, SWIFT ID, or SWIFT code. It consists of a bank code, a country code, and a location code.

ScanMail verifies the country code against a list of country codes that are considered significant to the business. Some country codes are not included in the list.

Austria - SSN (Sozialversich­erungsnummer)

Austrian Social Security Number

ScanMail verifies the social security number used in Austria and the expression’s own checksum.

Canada -
Quebec RAMQ

Quebec Health­care Medical Number

ScanMail verifies the health insur­ance card number used in Quebec, Canada and the expression’s own checksum.

Canada - SSN (Social Insur­ance Number)

Canadian Social Insurance Num­ber

ScanMail verifies the prefix and the Luhn checksum, a widely used algo­rithm for validating identification num­bers.

China - National ID Number

China National ID Number

ScanMail verifies the national ID card number used in the People’s Republic of China. ScanMail checks the birth date embedded in the ID number and the expression’s own checksum.

Date - Formats used in Japan

Date formats used in Japan including:

  • yyyy/mm/dd

  • yy/mm/d

  • yy.mm.dd

  • Syy.m.d

  • yyyy-m-d

  • 昭和yymd

None

Date - Full (day/month/year)

Date formats used in the United Kingdom

ScanMail validates dates in the Day-Month-Year format. ScanMail checks the range of the month and day for the specified month and if the year is earlier than 2051.

Date - Full (month/day/year)

Date with day, month, and year, such as birth date

ScanMail validates dates in the Month-Day-Year format. ScanMail checks the range of the month and day for the specified month and if the year is earlier than 2051.

Date - Full (year/month/day)

Date formats defined by the International Organization for Standardization

ScanMail validates dates in the Year-Month-Day format. ScanMail checks the range of the month and day for the specified month and if the year is earlier than 2051.

Date - Partial (month/year)

Date with only the month and year

None

Denmark - Per­sonal ID Number

Danish Personal ID Number

ScanMail verifies the personal identifi­cation number used in Denmark and the expression’s own checksum.

Dominican Republic - Per­sonal ID Number

Dominican Republic Per­sonal ID Number

ScanMail verifies the personal identifi­cation number used in the Dominican Republic and the expression’s own checksum.

Finland - ID

Finnish Per­sonal ID Number

ScanMail verifies the personal identifi­cation number used in Finland and the expression’s own checksum.

France - INSEE Code

France INSEE Code

ScanMail verifies the INSEE code and the expression’s own checksum.
The INSEE code is a numerical index­ing code used by the French National Institute for Statistics and Economic Studies (INSEE). INSEE identifies var­ious entities and is used as the National Identification Numbers for individuals.

France - National Insurance Num­ber

French National Insurance Num­ber

None

Germany - Elec­tronic Taxpayer ID

German Elec­tronic Taxpayer ID Number

ScanMail verifies the German Tax ID (eTIN) by checking both the birth month and day defined in the eTIN. ScanMail also verifies the expres­sion’s checksum.

Ireland - PPSN

Irish Personal Public Service Number

ScanMail verifies the Irish Personal Public Service Number and the expression’s checksum.

Ireland - VAT

Irish Value Added Tax

None

Japan - Address

Address formats used in Japan including: pre­fecture, ward, city, county, block, building name and num­ber

None

Japan - Phone Number

Japanese tele­phone number

None

Norway - Birth Number

Norwegian Birth Number

ScanMail verifies the birth date and the 3-digit personal number embed­ded in the data. ScanMail also verifies the expression’s two checksums.

Poland - National ID Number

Polish ID Num­ber

ScanMail verifies the PESEL and the expression’s own checksum. PESEL is the national identification number used in Poland.

South Korea - Registration Number

Republic of Korea (South Korea) Registra­tion Number

ScanMail verifies the registration number of a citizen from the Republic of Korea and the birth date included in the data and gender digit.

Spain - Fiscal Identification Number

Spanish Fiscal Identification Number

ScanMail verifies the Spanish Fiscal Identification Number and the expres­sion’s own checksum.

Spain - National Identity Card Number

Spanish National Identity Card Number

None

Spain - SSN (Social Security Number)

Spanish Social Security Number

None

Taiwan - National ID Number

Taiwan ID Num­ber

ScanMail verifies the national ID card number used in Taiwan, the gender digit, and the expression’s own check­sum.

UK - National Health System Number

UK National Health System Number

None

UK - National Insurance Num­ber

UK National Insurance Num­ber

ScanMail verifies the national health service number used in the United Kingdom and the expression’s own checksum.

US - ABA Rout­ing Number

ABA Routing Number

ScanMail verifies the first two digits of the data and the expression’s own checksum.

US - California ID or DL Number

California Driver’s License Number or ID Number

None

US - Dollar Amount

US dollar amount

None

US - HIC (Health Insurance Claim)

Health Insur­ance Claim

ScanMail verifies a valid Health Insur­ance Claim (HIC) suffix letter. The HIC number has one or two suffix letters.

US - NPI (National Pro­vider Identifier)

National Pro­vider Identifier in the United States

ScanMail verifies the National Pro­vider Identifier (NPI). The NPI has its own checksum based on the Luhn algorithm, which is widely used for validating identification numbers. ScanMail also verifies the expres­sion’s checksum.

US - Phone Num­ber

Telephone
number

ScanMail checks the area code against a dictionary of collected US area codes.

US - SSN (Social Security Number)

United States Social Security Number

ScanMail validates a 9-digit number by checking its area code and group number and then matching it against invalid SSNs identified by the U.S. Social Security Administration (SSA).

See also: