> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/system-management/settings/legal-consent-for-pii.md).

# Legal consent for PII

DoControl enables your organization to scan for PII (Personal Identifiable Information) across all your SaaS apps. DoControl [workflows](/docontrol-user-guide/workflows/workflow-overview.md) scan files, identifies PII patterns, following known PII labels. Such PII include: bank details, credit or debit card details, names, addresses, emails, passwords, access keys, and more.&#x20;

The scanned data is never persisted, meaning that DoControl has secure access to the data only during the scan, and by no means does it store any of the data.

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FElFQesFYmT6v35CBd8mt%2Flegal%20consent.png?alt=media&amp;token=eefac02e-a9f6-49dc-8758-39bcc03e0c39" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
To enable PII scanning, your organization needs to provide legal consent.
{% endhint %}

## Enable PII scanning

Once enabling the PII scan, this option remains enabled permanently. To disable it, send an email to <support@docontrol.io>.

1. From the top-right corner in any screen, click **Settings** > **Admin** > **Legal consent.**
2. Click **Approve** **PII scanning.**
3. After enabling PII scanning, you can set workflows to [scan for PII](/docontrol-user-guide/workflows/define-workflow-settings/action-settings/query.md#pii-file-scan), and when found, you can prevent sharing of such information.

## PII patterns

DoControl detects these PII patterns:

<table data-header-hidden><thead><tr><th width="259"></th><th></th></tr></thead><tbody><tr><td>BANK ACCOUNT NUMBER</td><td>BANK ROUTING</td></tr><tr><td>CREDIT DEBIT NUMBER</td><td>CREDIT DEBIT CVV</td></tr><tr><td>CREDIT DEBIT EXPIRY</td><td>PIN</td></tr><tr><td>EMAIL</td><td>ADDRESS</td></tr><tr><td>NAME</td><td>PHONE</td></tr><tr><td> SSN</td><td>DATE TIME</td></tr><tr><td>PASSPORT NUMBER</td><td>DRIVER ID</td></tr><tr><td>URL</td><td>AGE</td></tr><tr><td>USERNAME</td><td>PASSWORD</td></tr><tr><td>AWS ACCESS KEY</td><td>AWS SECRET KEY</td></tr><tr><td>IP ADDRESS</td><td>MAC ADDRESS</td></tr><tr><td>LICENSE PLATE</td><td>VEHICLE IDENTIFICATION NUMBER</td></tr><tr><td>NATIONAL INSURANCE NUMBER (UK)</td><td>SOCIAL INSURANCE NUMBER (CANADA)</td></tr><tr><td>INDIVIDUAL TAX IDENTIFICATION NUMBER (US)</td><td>UNIQUE TAXPAYER REFERENCE NUMBER (UK)</td></tr><tr><td>PERMANENT ACCOUNT NUMBER (INDIA)</td><td>NREGA (INDIA)</td></tr><tr><td>INTERNATIONAL BANK ACCOUNT NUMBER</td><td>SWIFT CODE</td></tr><tr><td>NATIONAL HEALTH SERVICE NUMBER (UK)</td><td>HEALTH NUMBER (UK)</td></tr><tr><td>AADHAAR (INDIA)</td><td>VOTER NUMBER (UK)</td></tr><tr><td>VOTER NUMBER (INDIA)</td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docontrol.io/docontrol-user-guide/system-management/settings/legal-consent-for-pii.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
