Brazil CNH Number
Detects Brazilian driver licence numbers (CNH - Carteira Nacional de Habilitação). The CNH register number is 11 digits. Structural detection alone is ambiguous with CPF length, so corroborative CNH keywords are required for reliable use.
- Type
- regex
- Engine
- boost_regex
- Confidence
- medium
- Confidence justification
- Medium confidence: same length as CPF; keyword gating is mandatory to avoid systematic collision with br-cpf.
- Jurisdictions
- br
- Regulations
- LGPD, CTB (Brazil)
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- pii, government-id
- Scope
- narrow
- Risk rating
- 7
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Compatible
Pattern
\b\d{11}\b
Corroborative evidence keywords
CNH, carteira de motorista, habilitação, registro CNH, ID number, identification, ID card, license, permit, registration, certificate
Proximity: 300 characters
Should match
12345678901— 11-digit CNH register number09876543211— Alternate 11-digit value11144477735— Third illustrative value
Should not match
1234567890— Only 10 digits123456789012— 12 digits1234567890A— Contains a letter
Known false positives
- CPF is also 11 digits and will match the same digit pattern. Mitigation: Require CNH/habilitação keywords; deploy alongside br-cpf with distinct evidence.