How to use predefined content detectors

Specify sensitive content with predefined content detectors
Gmail DLP is now only available with G Suite Enterprise and G Suite for Education. If you purchased one of these licenses before March 31, 2017, you can continue to use Gmail DLP until January 31, 2020, as long as you keep the this license active.

Content detectors, used with data loss prevention (DLP), specify sensitive content types to scan and report. Some rule templates use predefined content detectors that automatically scan and report sensitive data. How the content is scanned and reported depends on the type of content.

Predefined content detectors

Open all   |   Close all

United States
Detector Description
Social Security Number (SSN)

A SSN is a 9-digit number issued to U.S. citizens and residents. The Social Security number is the default national identification number for taxation.

Driver's License Number

Driver’s license number for the United States. Format can vary depending on the issuing U.S. state.

Drug Enforcement Administration (DEA) Number

A DEA number is assigned to a health care provider by the U.S. Drug Enforcement Administration. It allows the health care provider to write prescriptions for controlled substances. The DEA number is often used as a general "prescriber number" that is a unique identifier for anyone who can prescribe medication.

American Bankers Association (ABA) Routing Number

The American Bankers Association (ABA) Routing Number (also called the transit number) is a nine-digit code. It's used to identify the financial institution that's responsible to credit or entitled to receive credit for a check or electronic transaction.

National Provider Identifier (NPI)

The National Provider Identifier (NPI) is a unique 10-digit identification number issued to health care providers in the United States by the Centers for Medicare and Medicaid Services (CMS). The NPI replaces the unique provider identification number (UPIN) as the required identifier for Medicare services. It's also used by other payers, including commercial healthcare insurers.

Committee on Uniform Security Identification Procedures (CUSIP) A CUSIP number is a 9-character alphanumeric code that identifies a North American financial security. 
Food and Drug Aministration (FDA) Approved Prescription Drugs This is any drug on the list of prescription drugs approved by the United States (FDA).

 

Passport

A United States passport number.

U.S. State A state's name.
Adoption Taxpayer Identification Number (ATIN)

The ATIN is a type of Tax Identification Number (TIN) issued by the Internal Revenue Service to people legally adopting a child.

Employer Identification Number (EIN) The EIN (also known as the Federal Tax Identification Number) is used to identify a business entity.
Individual Taxpayer Identification Number (ITIN)

An ITIN is a type of Tax Identification Number (TIN), issued by the Internal Revenue Service. An ITIN is a tax processing number available only to people with no Social Security Number.

Toll Free Phone Number A U.S. toll free telephone number.
Vehicle Registration Number (VIN)

A VIN is a unique 17-digit code assigned to every on-road motor vehicle.

Preparer Taxpayer Identification Number (PTIN)

The PTIN is an identification number, used by paid tax return preparers.

United Kingdom
Detector Description
Driver's License Number

Driver’s license number for the United Kingdom of Great Britain and Northern Ireland (UK).

National Health Service (NHS) Number

NHS numbers are issued to registered users of the public health services in England, Wales, and the Isle of Man.

National Insurance Number (NINO)

The National Insurance number is a number used in the United Kingdom (UK) in the administration of the National Insurance or social security system. 

Passport

A United Kingdom (UK) passport number.

 

Taxpayer Identification Number

This is a detector for a United Kingdom (UK) Unique Taxpayer Reference (UTR) number. This 10-digit number is an identifier used by the UK government to manage the taxation system. Unlike other identifiers, such as the passport number or social insurance number, the UTR is not listed on official identity cards.

Argentina
Detector Description
Documento Nacional de Identidad (DNI)

A DNI is the Agentine national identity card. It's the main identity document for citizens.

Australia
Detector Description
Medicare Account Number

A 9-digit Medicare number is issued to permanent residents of Australia (except for Norfolk island). The primary purpose of this number is to prove Medicare eligibility to receive subsidized care in Australia.

Tax File Number (TFN)

A number issued by the Australian Tax Office for taxpayer identification. Every taxpaying entity, such as an individual or an organization, is assigned a unique number.

Brazil
Detector Description
Cadastro de Pessoas Físicas (CPF) number

The CFP, or Natural Persons Register, is an 11-digit number used for taxpayer identification.

Canada
Detector Description
Quebec Health Insurance Number (HIN)

The Quebec Health Insurance Number (HIN) is issued to citizens, permanent residents, temporary workers, students and other individuals who are entitled to health care coverage in the Province of Quebec.

Ontario Health Insurance Plan (OHIP)

The OHIP number is issued to citizens, permanent residents, temporary workers, students, and other individuals who are entitled to health care coverage in the Province of Ontario.

British Columbia Personal Health Number (PHN)

The British Columbia PHN is issued to citizens, permanent residents, temporary workers, students, and other individuals who are entitled to health care coverage in the Province of British Columbia.

Social Insurance Number (SIN)

The Social Insurance Number (SIN) is the main identifier used in Canada for citizens, permanent residents, and those on work or study visas. With a Canadian SIN and mailing address, citizens apply for health care coverage, driver’s licenses, and other services.

 

 

Passport

A Canadian passport number.

Driver's License Number

A driver’s license number for Canada for the ten provinces in Canada.

Chile
Detector Description
Chilean Cédula de Identidad (CDI) Number

A CDI card, or identity card, is the Chilean main identity document for citizens.

China
Detector Description
Passport

A Chinese passport number.

Resident Identification Number (RIC)

A resident identification number issued to each Chinese resident on a Resident Identity Card (RIC).

Columbia
Detector Description
Cédula de Ciudadanía (CDC)

The CDC, or Colombian citizenship card, is used as the main identity document for citizens.

France
Detector Description
Carte Nationale d’Identité Sécurisée (CNI)

The CNI or CNIS is the national identity card, which has a 12-digit number. This number is commonly used when opening bank accounts and when paying by check. It can sometimes be used instead of a passport or visa within the European Union (EU).

Numéro d'Inscription au Répertoire (NIR)

The NIR is a permanent identification number that's also known as the French social security number.

Passport

A French passport number.

Germany
Detector Description
Passport

A German passport number. The format of a German passport number is 10 alphanumeric characters, chosen from numerals 0-9 and letters C, F, G, H, J, K, L, M, N, P, R, T, V, W, X, Y, Z.

India
Detector Description
Personal Permanent Account Number (PAN)

The PAN is a unique 10-digit alphanumeric identifier used for identification of individuals, particularly those who pay income tax.

Japan
Detector Description
Passport

A Japanese passport number. The passport number consists of 2 alphabetic characters followed by 7 digits.

Driver's License Number  A Japanese driver's license number.
Individual Number

A Japanese Individual Number, also known as My Number. This began to be issued in January 2016.

Bank Account Number A Japanese bank account number.
Korea
Detector Description
Passport

This is a detector for a Korean passport. There are 2 different formats.

Pre-2008 passport numbers consist of 9 characters. The first 2 characters are the issued local code, corresponding to the holder's gu, or district. The remaining 7 digits are the serial number.

Post-2008 passport numbers consist of 9 characters. The first character is either a single letter M, denoting PM passports, or the letter S for PS passports. The remaining 8 digits are the serial number.

Mexico
Detector Description
National Identification Number (CURP)

This is a detector for the Mexico Clave Única de Registro de Población (CURP) number. In English, this is the Unique Population Registry Code, or Personal ID Code Number. This is an 18-character state-issued identification number assigned by the Mexican government to citizens or residents of Mexico and used for taxpayer identification.

Passport

A Mexican passport number.

Netherlands
Detector Description
Burgerservicenummer (BSN)

The BSN is also known as the Citizen’s Service Number. It's a state-issued identification number that's on driver’s licenses, passports, and international ID cards.

Passport A Netherlands passport number.
Paraguay
Detector Description

Cédula de identidad civil (CIC)
Number

The CIC number, or civil identity card, is the main identity document for Paraguay citizens.

Peru
Detector Description

Documento Nacional de Identidad (DNI) Number

The DNI number,  or national identity card, is the main identity document for citizens.

Poland
Detector Description

Pesel Number

The National Identification Number in Poland. Mandatory for all permanent residents of Poland, as well as for temporary residents staying there longer than 2 months.

Passport A Polish passport number.
Portugal
Detector Description

Cartão de Cidadão (CDC) Number

The CDC, or citizen card, is used as the main identity, Social Security, health services, taxpayer, and voter document.

Spain
Detector Description
Número de Identificación Fiscal (NIF) Number

NIF numbers are government ID numbers for Spanish citizens. An NIF number is needed for key transactions such as opening a bank account, buying a car, or setting up a mobile phone contract.

Número de Identificación de Extranjeros
(NIE) Number

NIE numbers are government ID numbers for foreigners living or doing business in Spain. A NIE number is needed for transactions such as opening a bank account, buying a car, or setting up a mobile phone contract.

Passport

There are 4 different types of passports in Spain. This detector is for the Ordinary Passport (Pasaporte Ordinario) type, which is issued for ordinary travel, such as vacations and business trips.

Driver's License Number A Spanish driver's license number.
Documento Nacional de Identidad (DNI) The DNI is the identification number for Spanish citizens. The same number is used on a Spanish driver's license.
Sweden
Detector Description
Passport

Represents a Swedish passport number. Swedish passports are issued to nationals of Sweden for the purpose of international travel, and serve as proof of Swedish citizenship.

Uruguay
Detector Description
Cédula de Identidad  (CDI) Number

A CDI, or identity card, is the main identity document for citizens.

Venezuela
Detector Description
Cédula de Identidad  (CDI) Number

A CDI, or identity card, is the main identity document for citizens.

Global

Tip: Some of the global detectors might not be useful for Gmail. For example, detectors like date and time will likely match for every email, since all email has a date and time.

Detector Description
Credit card number

Credit card numbers are 12 to 19 digits long. They're used for payment transactions globally.

Bank account number (IBAN)

An International Bank Account Number (IBAN) is defined as an internationally agreed-upon method for identifying bank accounts. It’s defined by the International Standard of Organization (ISO) 13616:2007 standard. ISO 13616:2007 was created by the European Committee for Banking Standards (ECBS). An IBAN consists of up to 34 alphanumeric characters including elements such as a country code or account number.

Bank account number (SWIFT)

A SWIFT code is the same as a Bank Identifier Code (BIC). It's a unique identification code for a particular bank. These codes are used when transferring money between banks, particularly for international wire transfers. Banks also use the codes for exchanging other messages.

ICD 9-CM Lexicon

The International Classification of Diseases, Clinical Modification (ICD-9-CM) lexicon is used to assign diagnostic and procedure codes associated with inpatient, outpatient, and physician office use in the United States. It was created by the U.S. National Center for Health Statistics (NCHS). The ICD-9-CM is based on the ICD-9 but provides for additional morbidity detail. It's updated annually on October 1.

ICD 10-CM Lexicon

Like ICD 9 codes, ICD 10 codes are a series of diagnostic codes published by the World Health Organization (WHO) to describe causes of morbidity and mortality.

Date of birth A birth date for a person.
Name occurrence A person's name.
Date A date. Includes most date formats and the names of world holidays.
Email address An email address. The maximum length of the domain name is 255 characters. The maximum length of the local part is 64 characters.
Phone number A telephone number.
MAC address A media access control address (MAC address) which is an identifier for a network adapter.
MAC address local A local media access control address (MAC address) which is an identifier for a network adapter.
International Mobile Equipment Identity (IMEI) hardware identifier The IMEI hardware identifier is used to identify mobile phones.
IP address 

An Internet Protocol address (IP address).  The format is IPv4 or IPv6.

URL basic A uniform resource locator.
GCP credentials

Google Cloud Platform service account credentials. Can be used to sign in to Google API client libraries and services accounts.

Domain name A domain name identified by the DNS standard.
Time A timestamp of a specific time of day.
Age The age of a person, measured in months or years.
Ethnic group A person's ethnic group.
Gender identity A person's gender.
Was this helpful?
How can we improve it?