Skip to main content

Regulations

note

Generated from the regulation profiles of anonyma/compliance of anonyma 1.3.2, so it is always what the code does.

Each profile maps categories to the provisions that name them, says which protection a strategy must give, and lists the data the regulation names that no detector covers. Policies that extend a profile are checked against it.

General Data Protection Regulation​

European Union / EEA · Regulation (EU) 2016/679 · id gdpr

CategoryRecommendedProvision
namepseudonymizeGDPR Art. 4(1)
emailpseudonymizeGDPR Art. 4(1)
phonepseudonymizeGDPR Art. 4(1)
addresspseudonymizeGDPR Art. 4(1)
date-of-birthpseudonymizeGDPR Art. 4(1)
national-idpseudonymizeGDPR Art. 4(1)
ssnpseudonymizeGDPR Art. 4(1)
passportpseudonymizeGDPR Art. 4(1)
drivers-licensepseudonymizeGDPR Art. 4(1)
tax-idpseudonymizeGDPR Art. 4(1)
ibanpseudonymizeGDPR Art. 4(1)
bank-accountpseudonymizeGDPR Art. 4(1)
credit-cardpseudonymizeGDPR Art. 4(1)
cryptocurrencypseudonymizeGDPR Art. 4(1)
ipv4pseudonymizeGDPR Art. 4(1)
ipv6pseudonymizeGDPR Art. 4(1)
urlpseudonymizeGDPR Art. 4(1)
social-mediapseudonymizeGDPR Art. 4(1)
medical-recordpseudonymizeGDPR Art. 9(1)
health-insurancepseudonymizeGDPR Art. 9(1)
prescriptionpseudonymizeGDPR Art. 9(1)

Not covered by a detector:

  • Location data (coordinates, postal codes, city names) — Add custom patterns for the formats in your data, or drop the fields that carry location.
  • Device, advertising and cookie identifiers — Add custom patterns for the identifiers your systems emit.
  • Special categories expressed in free text (health conditions, beliefs, union membership) — Pattern matching cannot find these. Redact the fields that may contain them, by key.
  • Names that are not introduced by a title, greeting or label — Redact name fields by key; the name detector is a heuristic.

Lei Geral de Proteção de Dados Pessoais​

Brazil · Lei nº 13.709/2018, as amended · id lgpd

CategoryRecommendedProvision
nameredactLGPD Art. 5, I
emailredactLGPD Art. 5, I
phoneredactLGPD Art. 5, I
addressredactLGPD Art. 5, I
date-of-birthredactLGPD Art. 5, I
national-idredactLGPD Art. 5, I
tax-idredactLGPD Art. 5, I
passportredactLGPD Art. 5, I
drivers-licenseredactLGPD Art. 5, I
bank-accountredactLGPD Art. 5, I
ibanredactLGPD Art. 5, I
credit-cardredactLGPD Art. 5, I
cryptocurrencyredactLGPD Art. 5, I
ipv4redactLGPD Art. 5, I
ipv6redactLGPD Art. 5, I
urlredactLGPD Art. 5, I
social-mediaredactLGPD Art. 5, I
license-plateredactLGPD Art. 5, I
medical-recordredactLGPD Art. 5, II
health-insuranceredactLGPD Art. 5, II
prescriptionredactLGPD Art. 5, II

Not covered by a detector:

  • CPF without punctuation, CNPJ, RG, CNH, título de eleitor, PIS/PASEP and Cartão Nacional de Saúde numbers — Only the punctuated CPF format is detected. Add custom patterns with the checksum validators for the others.
  • Brazilian phone numbers in national format, CEP postal codes and addresses written in Portuguese — Add custom patterns, or redact the fields that carry them by key.
  • Sensitive data in free text (health, religion, political opinion, union membership) — Pattern matching cannot find these. Redact the fields that may contain them, by key.

Personal Information Protection and Electronic Documents Act​

Canada (federal, private sector) · S.C. 2000, c. 5, as amended · id pipeda

CategoryRecommendedProvision
nameredactPIPEDA s. 2(1)
emailredactPIPEDA s. 2(1)
phoneredactPIPEDA s. 2(1)
addressredactPIPEDA s. 2(1)
date-of-birthredactPIPEDA s. 2(1)
national-idredactPIPEDA s. 2(1)
ssnredactPIPEDA s. 2(1)
passportredactPIPEDA s. 2(1)
drivers-licenseredactPIPEDA s. 2(1)
tax-idredactPIPEDA s. 2(1)
bank-accountredactPIPEDA s. 2(1)
ibanredactPIPEDA s. 2(1)
credit-cardredactPIPEDA s. 2(1)
ipv4redactPIPEDA s. 2(1)
ipv6redactPIPEDA s. 2(1)
social-mediaredactPIPEDA s. 2(1)
medical-recordredactPIPEDA s. 2(1)
health-insuranceredactPIPEDA s. 2(1)
prescriptionredactPIPEDA s. 2(1)

Not covered by a detector:

  • Provincial health card numbers, postal codes, and bank transit and institution numbers — Add custom patterns. The Social Insurance Number is detected as national-id.
  • Names and addresses written in French — Redact name and address fields by key; the detectors are tuned to English forms.

California Consumer Privacy Act, as amended by the California Privacy Rights Act​

California, United States · Cal. Civ. Code §§ 1798.100–1798.199.100 · id ccpa

CategoryRecommendedProvision
nameredactCal. Civ. Code § 1798.140(v)(1)(A)
emailredactCal. Civ. Code § 1798.140(v)(1)(A)
addressredactCal. Civ. Code § 1798.140(v)(1)(A)
ipv4redactCal. Civ. Code § 1798.140(v)(1)(A)
ipv6redactCal. Civ. Code § 1798.140(v)(1)(A)
urlredactCal. Civ. Code § 1798.140(v)(1)(A)
social-mediaredactCal. Civ. Code § 1798.140(v)(1)(A)
phoneredactCal. Civ. Code § 1798.140(v)(1)(B)
date-of-birthredactCal. Civ. Code § 1798.140(v)(1)(B)
tax-idredactCal. Civ. Code § 1798.140(v)(1)(B)
ssnredactCal. Civ. Code § 1798.140(ae)
national-idredactCal. Civ. Code § 1798.140(ae)
passportredactCal. Civ. Code § 1798.140(ae)
drivers-licenseredactCal. Civ. Code § 1798.140(ae)
bank-accountredactCal. Civ. Code § 1798.140(ae)
credit-cardredactCal. Civ. Code § 1798.140(ae)
api-keyredactCal. Civ. Code § 1798.140(ae)
medical-recordredactCal. Civ. Code § 1798.140(ae)
health-insuranceredactCal. Civ. Code § 1798.140(ae)

Not covered by a detector:

  • Precise geolocation — Add custom patterns for coordinates, or drop the fields that carry them.
  • Passwords, security codes and other account credentials — Redact credential fields by key. Only API-key shaped secrets are detected.
  • Device, cookie and advertising identifiers — Add custom patterns for the identifiers your systems emit.
  • Biometric information, and inferences drawn about a consumer — Pattern matching cannot find these. Redact the fields that may contain them, by key.

HIPAA Privacy Rule — de-identification by Safe Harbor​

United States · 45 CFR Part 164, Subpart E · id hipaa

CategoryRecommendedProvision
nameredact45 CFR § 164.514(b)(2)(i)(A)
addressredact45 CFR § 164.514(b)(2)(i)(B)
date-of-birthredact45 CFR § 164.514(b)(2)(i)(C)
phoneredact45 CFR § 164.514(b)(2)(i)(D)
emailredact45 CFR § 164.514(b)(2)(i)(F)
ssnredact45 CFR § 164.514(b)(2)(i)(G)
medical-recordredact45 CFR § 164.514(b)(2)(i)(H)
health-insuranceredact45 CFR § 164.514(b)(2)(i)(I)
bank-accountredact45 CFR § 164.514(b)(2)(i)(J)
credit-cardredact45 CFR § 164.514(b)(2)(i)(J)
ibanredact45 CFR § 164.514(b)(2)(i)(J)
drivers-licenseredact45 CFR § 164.514(b)(2)(i)(K)
passportredact45 CFR § 164.514(b)(2)(i)(K)
prescriptionredact45 CFR § 164.514(b)(2)(i)(K)
vinredact45 CFR § 164.514(b)(2)(i)(L)
license-plateredact45 CFR § 164.514(b)(2)(i)(L)
urlredact45 CFR § 164.514(b)(2)(i)(N)
ipv4redact45 CFR § 164.514(b)(2)(i)(O)
ipv6redact45 CFR § 164.514(b)(2)(i)(O)
national-idredact45 CFR § 164.514(b)(2)(i)(R)
tax-idredact45 CFR § 164.514(b)(2)(i)(R)
social-mediaredact45 CFR § 164.514(b)(2)(i)(R)

Not covered by a detector:

  • City, county, precinct and ZIP code — Only street addresses are detected. Redact or generalise location fields by key.
  • Admission, discharge and death dates, and ages over 89 — Only dates that look like a date of birth are detected. Redact date and age fields by key.
  • Device identifiers and serial numbers — Add custom patterns for the device identifiers in your records.
  • Biometric identifiers and full-face photographs — Out of reach of text processing. Remove these attachments and fields.
  • Names that are not introduced by a title, greeting or label — Redact name fields by key; the name detector is a heuristic.

Payment Card Industry Data Security Standard​

Global (contractual, card brands) · PCI DSS v4.0.1 · id pci-dss

CategoryRecommendedProvision
credit-cardmask (last 4 kept)PCI DSS v4.0.1 Req. 3.4.1
nameredactPCI DSS v4.0.1 Req. 3, account data
bank-accountmask (last 4 kept)PCI DSS v4.0.1 Req. 3, account data
addressredactPCI DSS v4.0.1 Req. 3, account data
emailredactPCI DSS v4.0.1 Req. 3, account data
phoneredactPCI DSS v4.0.1 Req. 3, account data

Not covered by a detector:

  • Card verification codes, full track data and PINs or PIN blocks (sensitive authentication data) — These must not be stored at all. Redact the fields that carry them by key; no detector finds them.
  • Expiration date and service code — Redact the fields that carry them by key.