Skip to content

Prompt Firewall Anonymize Policy Supported Entities

The Anonymize policy in the AccuKnox Prompt Firewall supports 60 sensitive data entities. It masks them in prompts and responses before they reach the model or the user. Fifteen entities are global, such as email address, phone number, credit card number and person name. The other 45 are national IDs and numbers from 13 countries.

Each entity has an ID. The country prefix in the ID, such as JP, US or IN, sets its group. An ID that ends in _RE uses regex matching for the same data type.

Download the entity list (PDF)

The Anonymize Policy Covers 60 Entities in 14 Groups

Group Entities
Common / Global 15
Japan (JP) 8
United States (US) 6
India (IN) 11
Australia (AU) 4
Singapore (SG) 2
Thailand (TH) 1
United Arab Emirates (AE) 1
Italy (IT) 5
United Kingdom (UK) 2
Spain (ES) 2
Poland (PL) 1
Finland (FI) 1
South Korea (KR) 1
Total 60

Global Entities Mask Data That Belongs to No Single Country

Common / Global Entities

Entity ID Description
CREDIT_CARD Credit card number
CREDIT_CARD_RE Credit card number (regex matching)
CRYPTO Bitcoin wallet address
DATE_TIME Date and time
EMAIL_ADDRESS Email address
EMAIL_ADDRESS_RE Email address (regex matching)
IBAN_CODE International Bank Account Number
IP_ADDRESS Internet Protocol address (IPv4 and IPv6)
LOCATION Names of cities, countries, regions and similar locations
MEDICAL_LICENSE Common medical license numbers
NRP Person's nationality, religious or political group
PERSON Person name
PHONE_NUMBER Telephone number
URL Uniform Resource Locator
UUID Universally Unique Identifier (128-bit)

Country Entities Mask National IDs From 13 Countries

Japan (JP)

Entity ID Description
JP_MY_NUMBER Japanese Individual Number
JP_CORPORATE_NUMBER Japanese corporate number
JP_DRIVER_LICENSE Japanese driver license number
JP_PASSPORT Japanese passport number
JP_RESIDENCE_CARD Japanese residence card number
JP_BASIC_PENSION Japanese basic pension number
JP_BANK_ACCOUNT Japanese bank account number
JP_POSTAL_CODE Japanese postal code

United States (US)

Entity ID Description
US_BANK_NUMBER US bank account number
US_DRIVER_LICENSE US driver license
US_ITIN US Individual Taxpayer Identification Number
US_PASSPORT US passport number
US_SSN US Social Security Number
US_SSN_RE US Social Security Number (regex matching)

India (IN)

Entity ID Description
IN_AADHAAR Indian Aadhaar number
IN_BANK_ACCOUNT Indian bank account number
IN_DRIVING_LICENSE Indian driving license number
IN_GSTIN Indian Goods and Services Tax Identification Number
IN_IFSC Indian Financial System Code (IFSC)
IN_PAN Indian Permanent Account Number
IN_PASSPORT Indian passport number
IN_TAN Indian Tax Deduction and Collection Account Number
IN_UPI Indian Unified Payments Interface (UPI) ID
IN_VEHICLE_REGISTRATION Indian vehicle registration number
IN_VOTER Indian voter ID

Australia (AU)

Entity ID Description
AU_ABN Australian Business Number
AU_ACN Australian Company Number
AU_MEDICARE Australian Medicare number
AU_TFN Australian Tax File Number

Singapore (SG)

Entity ID Description
SG_NRIC_FIN Singapore National Registration Identity Card / Foreign Identification Number
SG_UEN Singapore Unique Entity Number

Thailand (TH)

Entity ID Description
TH_TNIN Thai National ID Number

United Arab Emirates (AE)

Entity ID Description
AE_EMIRATES_ID UAE National ID Number

Italy (IT)

Entity ID Description
IT_DRIVER_LICENSE Italian driver license number
IT_FISCAL_CODE Italian personal identification code
IT_IDENTITY_CARD Italian identity card number
IT_PASSPORT Italian passport number
IT_VAT_CODE Italian VAT code number

United Kingdom (UK)

Entity ID Description
UK_NHS UK National Health Service number
UK_NINO UK National Insurance Number

Spain (ES)

Entity ID Description
ES_NIE Spanish NIE number (Número de Identidad de Extranjero)
ES_NIF Spanish NIF number (Número de Identificación Fiscal)

Poland (PL)

Entity ID Description
PL_PESEL Polish PESEL number

Finland (FI)

Entity ID Description
FI_PERSONAL_IDENTITY_CODE Finnish Personal Identity Code

South Korea (KR)

Entity ID Description
KR_RRN Korean Resident Registration Number

Each Application Needs the Anonymize Policy Enabled

Turn on the Anonymize policy for an application in the Prompt Firewall. Prompt Firewall covers the setup steps. Prompt Firewall Overview lists every policy type next to Anonymize.