Skip to content
Cloudflare Docs

Manage PII

Cloudflare Gateway gives you multiple ways to safely handle your employees' personally identifiable information (PII). By default, PII is redacted from Gateway Activity logs for all permission roles except the Super Administrator and users with the Cloudflare Zero Trust PII role assigned to them. Only the Super Administrator can assign roles and determine who has permission to view PII. Redacting PII does not affect the way PII is captured in logs as the data is simply hidden and no information is lost.

To add or remove the Cloudflare Zero Trust PII role for a user in your organization, refer to Roles. Alternatively, you can choose to exclude PII from Gateway activity logs for all users.

Types of PII

Cloudflare Gateway can log the following types of PII:

  • Source IP
  • User email
  • User ID
  • Device ID
  • URL
  • Referer
  • User agent

Exclude PII

Turning on the setting to exclude PII means Cloudflare Gateway will log activity without storing any employee PII. Changes to this setting will not change PII storage of any previous logs. This means if the setting is turned on and then turned off, there will be no PII data for logs captured while this setting was turned on. The PII data will be unavailable to all roles within your Zero Trust organization, including the Super Administrator.

To turn on the setting to exclude PII:

  1. In Cloudflare One, go to Traffic policies > Traffic settings.
  2. In Traffic logging, turn on Exclude personally identifiable information (PII) from logs.