跳转到主要内容

Presidio包含PII实体的预定义识别器。本页介绍了Presidio可以检测的不同实体,以及Presidio用于检测这些实体的方法。

此外,Presidio允许您添加自定义实体识别器。有关详细信息,请参阅添加新识别器文档。

支持的实体列表

全球的

Entity Type Description Detection Method
CREDIT_CARD A credit card number is between 12 to 19 digits. https://en.wikipedia.org/wiki/Payment_card_number Pattern match and checksum
CRYPTO 加密钱包号码。目前只支持比特币地址 Pattern match, context and checksum
DATE_TIME Absolute or relative dates or periods or times smaller than a day. Pattern match and context
EMAIL_ADDRESS 电子邮件地址标识电子邮件发送到的邮箱 Pattern match, context and RFC-822 validation
IBAN_CODE 国际银行账号(IBAN)是一个国际商定的识别跨境银行账户的系统,以促进跨境交易的沟通和处理,降低转录错误的风险。 Pattern match, context and checksum
IP_ADDRESS An Internet Protocol (IP) address (either IPv4 or IPv6). Pattern match, context and checksum
NRP A person’s Nationality, religious or political group. Custom logic and context
LOCATION 政治或地理位置的名称(城市、省份、国家、国际地区、水体、山脉) Custom logic and context
PERSON 全名,可以包括名字、中间名或首字母缩写以及姓氏。 Custom logic and context
PHONE_NUMBER A telephone number Custom logic, pattern match and context
MEDICAL_LICENSE Common medical license numbers. Pattern match, context and checksum
URL A URL (Uniform Resource Locator), unique identifier used to locate a resource on the Internet Pattern match, context and top level url validation

USA

FieldType Description Detection Method
US_BANK_NUMBER A US bank account number is between 8 to 17 digits. Pattern match and context
US_DRIVER_LICENSE A US driver license according to https://ntsi.com/drivers-license-format/ Pattern match and context
US_ITIN US Individual Taxpayer Identification Number (ITIN). Nine digits that start with a "9" and contain a "7" or "8" as the 4 digit. Pattern match and context
US_PASSPORT A US passport number with 9 digits. Pattern match and context
US_SSN A US Social Security Number (SSN) with 9 digits. Pattern match and context

UK

FieldType Description Detection Method
UK_NHS A UK NHS number is 10 digits. Pattern match, context and checksum

Spain

FieldType Description Detection Method
NIF A spanish NIF number (Personal tax ID) . Pattern match, context and checksum

Italy

FieldType Description Detection Method
IT_FISCAL_CODE An Italian personal identification code. https://en.wikipedia.org/wiki/Italian_fiscal_code Pattern match, context and checksum
IT_DRIVER_LICENSE An Italian driver license number. Pattern match and context
IT_VAT_CODE An Italian VAT code number Pattern match, context and checksum
IT_PASSPORT An Italian passport number. Pattern match and context
IT_IDENTITY_CARD An Italian identity card number. https://en.wikipedia.org/wiki/Italian_electronic_identity_card Pattern match and context

Singapore

FieldType Description Detection Method
FIN/NRIC A National Registration Identification Card Pattern match and context

Australia

FieldType Description Detection Method
AU_ABN The Australian Business Number (ABN) is a unique 11 digit identifier issued to all entities registered in the Australian Business Register (ABR). Pattern match, context, and checksum
AU_ACN An Australian Company Number is a unique nine-digit number issued by the Australian Securities and Investments Commission to every company registered under the Commonwealth Corporations Act 2001 as an identifier. Pattern match, context, and checksum
AU_TFN The tax file number (TFN) is a unique identifier issued by the Australian Taxation Office to each taxpaying entity Pattern match, context, and checksum
AU_MEDICARE Medicare number is a unique identifier issued by Australian Government that enables the cardholder to receive a rebates of medical expenses under Australia's Medicare system Pattern match, context, and checksum

添加自定义PII实体

有关如何为新型PII实体添加新识别器的说明,请参阅本文档。

连接到第三方PII探测器

有关如何为新的或现有类型的PII实体实现外部PII检测器的说明,请参阅本文档。