EU Social Security Number (SSN) or Equivalent ID
Detects references to EU Social Security Number (SSN) or Equivalent ID using keyword matching. 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
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: pattern has structural constraints but corroborative keywords are recommended to reduce false positive rates. Added context gating and exclusion rules improve precision and reduce incidental matches.
- Detection quality
- Topic verified
- Jurisdictions
- eu
- Regulations
- GDPR
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- pii, government-id
- Scope
- wide
- Risk rating
- 3
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, CrowdStrike DLP: Compatible, Palo Alto: Adapted from Purview, Netskope: Adapted from Purview
Pattern
(?i)\b(social\s+security\s+number|sozialversicherungsnummer|numéro\s+de\s+sécurité\s+sociale|national\s+insurance\s+number)\b
Corroborative evidence keywords
social security, SSN, sozialversicherung, sozialversicherungsnummer, sécurité sociale, previdenza sociale, ID number, identification, ID card, license, permit, registration, certificate, data record, database record, record set, data extract, data export, database table, spreadsheet (+16 more)
Proximity: 300 characters
Should match
social security number— English keyword matchsozialversicherungsnummer— German keyword matchnuméro de sécurité sociale— French keyword matchSozialversicherungsnummer: 65170839J003— Populated ID-number field (75 tier)Sozialversicherungsnummer: 65170839J003 Name: Avery Teston— Populated ID-number field with a person field (85 tier)
Should not match
employee benefits plan— Non-SSN referenceinsurance policy number— Generic insurance referencetemplate example placeholder record identifier— Template/sample context should be excluded even when anchor words are presentEU Social Security Number (SSN) or Equivalent ID— Bare detector name: it reached 75 through the generated name-word tier and must not reach an enforcing tierInsurance number: POL-4471820— A bare "insurance number" field (an insurance policy) is not a social security number; it was a context term and is not a populated-label primarySozialversicherungsnummer: Name: Avery Teston— Person record with the ID label but no value: the label must not corroborate itself (discovery only)Policy guidance: this procedure explains how records about social security number are handled, who may access them and how long they are kept. It contains no records about any person or system.— Policy guidance naming the topic without any record (discovery only)
Known false positives
- Broad keyword matching across EU languages may match general policy discussion, training materials, or compliance documentation. Mitigation: Layer with additional contextual signals such as structured identifiers or form fields to distinguish actual data from policy references.
- In multiple languages, similar terminology used in formal or administrative contexts (education, professional documentation) that does not constitute sensitive data collection. Mitigation: Layer with additional contextual signals such as structured identifiers, form fields, or database column headers to distinguish sensitive records from general references.