Americas Government IDs
Government identifier detection patterns for the Americas (excluding US). Covers Canada, Brazil, Mexico, Chile, and Argentina.
- Jurisdictions
- ca, br, mx, cl, ar
- Regulations
- PIPEDA, LGPD, LFPDPPP (Mexico)
- Patterns
- 11
Patterns in this collection
Detects Cuit Cuil patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Confidence
- medium
Detects CNPJ patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Confidence
- medium
Detects CPF patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Confidence
- medium
Detects 10-digit British Columbia Personal Health Numbers (BC PHNs) assigned under the Medicare Protection Act (BC) on BC Services Cards, starting with 9 and validated by the exact BC Ministry of Health Modulo-11 check digit via dual inline Purview Checksum validators.
- Type
- regex
- Confidence
- high
Packable custom multi-province Canadian driver's licence detector (complementing ca-drivers-license, which is a source: microsoft built-in reference stub): covers structured Ontario (15 chars: letter + 4 + 5 + YYMMDD with +50 female month), Québec SAAQ (13 chars: letter + 4 + DDMMYY/YYMMDD + 2), and Alberta hyphenated (6 digits - 3 digits) formats.
- Type
- regex
- Confidence
- high
Detects 12-character Québec Régie de l'assurance maladie du Québec (RAMQ) Health Insurance Numbers (Numéro d'assurance maladie / NAM): 4 uppercase letters derived from surname and given name, followed by 8 digits encoding YYMMDD birth date (with +50 on month for female holders), sequence, and check digit.
- Type
- regex
- Confidence
- high
Detects SIN patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Confidence
- medium
Detects 8- or 10-digit Canadian Immigration, Refugees and Citizenship Canada (IRCC) Unique Client Identifiers (UCIs, formatted 0000-0000 or 00-0000-0000) assigned to study/work permit holders, permanent residents, and visa applicants under the Immigration and Refugee Protection Act.
- Type
- regex
- Confidence
- medium
Detects RUT patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Confidence
- medium
Detects CURP patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Confidence
- medium
Detects Mexican RFC (Registro Federal de Contribuyentes) taxpayer identifiers in both official formats: the 13-character natural-person form (4-letter name stem + 6-digit date + 3-character homoclave) and the 12-character legal-entity form (3-character name stem, which may include Ñ or &, + 6-digit date + 3-character homoclave).
- Type
- regex
- Confidence
- low