This page lists some sample policies. You can use these policies either as-is or as starting points for customizing them to meet your specific de-identification needs.
To use a policy, download the policy to Philter's policies directory, which by default is /opt/philter/policies. Then restart Philter with sudo systemctl restart philter. The new policy will now be available for use when submitting filter API requests to Philter. (Specify the policy's name in the request. See the API for examples.)
Email Addresses and Phone Numbers
This policy finds email addresses and phone numbers and redacts them with {{{REDACTED-email-address}}} and {{{REDACTED-phone-number}}}, respectively.
This policy finds dates, URLs, and VINs. Dates and URLs are redacted with {{{REDACTED-date}}} and {{{REDACTED-url}}}, respectively. Each VIN number are replaced by a randomly generated VIN number.
This policy finds IP addresses and replaces each identified IP address with the static text IP_ADDRESS as long as the IP address is not 127.0.0.1. (A condition on the filter strategy sets the IP address requirement.)