> 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/lexical-lists.md).

# Lexical lists

DoControl provides several out-of-the-box keyword lists for scanning. These lists are customizable, and can be included or excluded as conditions when defining workflows. For more information, see [comparators](/docontrol-user-guide/workflows/define-workflow-settings/trigger-settings.md#comparators).

{% hint style="warning" %}
You need **Admin** permission to create and edit lexical lists.
{% endhint %}

**Use case 1**: When scanning file names for sensitive information, DoControl checks if any keywords in the [Alert triggers](#edit-default-lexical-lists) list appear in the file name. If sensitive keywords are detected, DoControl generates an alert.

**Use case 2**: Data shared with unauthorized, non-business contacts (private email addresses) could be an attempt to exfiltrate data. Moreover, personal email platforms as a rule do not require multi-factor authentication (MFA), which makes them the weak link in any chain of enterprise security solutions. As a remediation action, you can set up a workflow to prevent sharing data with private emails based on the list of private email domains.

{% hint style="success" %}
DoControl also leverages lexical lists to generate [alerts](#alerts-using-lexical-lists).
{% endhint %}

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2Fb4sH4pidYzKN0gMP9aoU%2Flexical%20lists.png?alt=media&amp;token=dbfed5d9-942c-4afe-8927-2574b45b93fe" alt=""><figcaption><p>DoControl provides out-of-the-box default lexical lists</p></figcaption></figure>

{% hint style="info" %}
Learn more about configuring keyword lists with [DoControl videos](/docontrol-user-guide/help/videos.md#lexical-analysis-in-docontrol).
{% endhint %}

## Default lexical lists

DoControl provides the following default lexical lists which can all be customized to meet your organization's requirements:

<table><thead><tr><th width="147">List name</th><th width="267">Description</th><th>Keyword examples</th></tr></thead><tbody><tr><td>Alert triggers </td><td>If the file name contains keywords in the Trigger alert list, the file is considered sensitive and an alert <strong>is</strong> triggered</td><td>agreement, classified, contract, employee, personnel, private, restricted, salary</td></tr><tr><td>Alert suppressors </td><td>If the file name contains keywords in the Suppress alert list, the file is considered less sensitive, and an alert is <strong>not</strong> triggered</td><td>announcement, newsletter, schedule, presentation, training</td></tr><tr><td>Encryption key files </td><td>A set of file extensions that indicate a file has been encrypted</td><td>.crt, .cst, .key</td></tr><tr><td>Ransomware encryption files</td><td>Common ransomware file extensions</td><td>.fun, .encrypted, .locked</td></tr><tr><td>Private email domains  </td><td><p>A set of 200 private, non-corporate email domains. These domains can be used to trigger:</p><ul><li>A <strong>workflow</strong> if assets are downloaded or shared with private email domains.</li><li>An <strong>alert</strong> if a company asset is shared with an actor having a private email domain.</li></ul></td><td>gmail.com, yahoo.com, hotmail.com</td></tr><tr><td>Sensitive keywords </td><td>A set of words indicating PII (personally identifiable information) or company proprietary information. <br>For example: A <strong>workflow</strong> is triggered if a sensitive keyword is detected in the asset name</td><td>confidential, legal,  password, payroll, salary</td></tr><tr><td>Default file formats for data scanning</td><td>MIME file types that are supported for <a href="/docontrol-user-guide/workflows/define-workflow-settings/action-settings/query/regex-scan.md">regex</a> and <a href="/docontrol-user-guide/workflows/define-workflow-settings/action-settings/query/pii-scan.md">PII scanning</a>.</td><td><p><strong>General</strong>:</p><ul><li>text/plain</li><li>text/csv</li><li>text/tab-separated-values</li><li>application/pdf<br></li></ul><p><strong>Google Drive</strong>:</p><ul><li>application/vnd.google-apps.document</li><li>application/vnd.google-apps.presentation</li><li>application/vnd.google-apps.spreadsheet</li></ul><p></p><p><strong>Microsoft</strong>:</p><ul><li>application/vnd.ms-excel</li><li>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</li><li>application/vnd.openxmlformats-officedocument.wordprocessingml.document</li><li>application/vnd.openxmlformats-officedocument.presentationml.presentation</li></ul></td></tr></tbody></table>

{% hint style="success" %}
You can [customize](#edit-default-lexical-lists) lexical keyword lists according to your organization's requirements.\
Or click [Create new list](#create-new-lexical-lists) to create additional customized lists of keywords.&#x20;
{% endhint %}

## Alerts using lexical lists

These lexical lists are leveraged by DoControl to trigger alerts:&#x20;

* **Alert triggers** - Several DoControl alerts are triggered when potentially sensitive files are shared. A file is considered sensitive if:
  * DoControl's sensitivity model assigns a high score to the file name, or
  * A customized keyword from the [Alert triggers](/docontrol-user-guide/risk-management/alerts/configure-alerts/configure-global-settings.md#alert-triggers) list is detected in the file name.
* **Private email domain list** - Several DoControl alerts are triggered when company files are shared with an actor having a private or non-corporate email domain, such as gmail.com or yahoo.com.

| Alert type                                              | Lexical list used                                                  |
| ------------------------------------------------------- | ------------------------------------------------------------------ |
| External sharing of sensitive files (DC3)               | <ul><li>Alert triggers</li></ul>                                   |
| Public sharing of sensitive files (DC6)                 | <ul><li>Alert triggers</li></ul>                                   |
| Shared sensitive file with private email (DC7)          | <ul><li>Alert triggers</li><li>Private email domain list</li></ul> |
| Shared sensitive file with personal email (DC8)         | <ul><li>Alert triggers</li><li>Private email domain list</li></ul> |
| Possible former employee accessed assets (DC30)         | <ul><li>Private email domain list</li></ul>                        |
| Unprotected sensitive cloud recording is public (DC105) | <ul><li>Alert triggers</li></ul>                                   |

{% hint style="info" %}
For more information about DoControl alerts, go to **Help > DoControl Alert Specifications**.
{% endhint %}

## Edit default lexical lists

All default lexical lists provided by DoControl can be edited, or customized with unique values.

{% hint style="warning" %}

* You cannot rename default lists. Any changes you make to a default lexical list will override the default file.
* You can add up to 1000 keywords to each lexical list. A counter below the keywords indicates how many keywords you've added to the list.
* If you want to add an existing lexical list with more than 1000 items, edit the list before saving.
  {% endhint %}

1. From the top-right corner in any screen, click **Settings** > **Lexical lists**.&#x20;
2. From the list to edit, click **Edit**. The lexical list appears on the right.&#x20;
3. Add or remove keywords, and then click **Save list**.&#x20;

{% hint style="info" %}

* You can add multiple-word lexical items with spaces, such as "date of birth" or "credit card."
* Lexical list items are **case-sensitive**. DoControl detects the lexical item exactly as it is entered. For example, if the file name includes "Salary" and the lexical list item is "salary" then a match will **not** be found.
* After entering each lexical item, click **Enter** or **tab** to add it to the list. Click **X** to remove an item from the lexical list.&#x20;
  {% endhint %}

4. To copy all the keywords in a lexical list, click the <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FG0LJai4SqyevU4rAIAdi%2Fellipsis.png?alt=media&amp;token=cbdc8875-b068-429f-9cff-f7f1822c2563" alt="" data-size="line"> **Ellipsis** button above the keywords and select **Copy all**. \
   \
   ![](https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FPfzcIlzt5AeuROXWKfX9%2Flexical%20list%20functionality.png?alt=media\&token=8fddf224-f2d2-4a58-9ab5-9ad403df6374)<br>
5. To clear all the keywords in a lexical list, click the <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FG0LJai4SqyevU4rAIAdi%2Fellipsis.png?alt=media&amp;token=cbdc8875-b068-429f-9cff-f7f1822c2563" alt="" data-size="line"> **Ellipsis** button above the keywords and select **Clear all**.&#x20;
6. If you added or removed keywords from a default list, and you want to revert to the original default lexical list, click the <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FG0LJai4SqyevU4rAIAdi%2Fellipsis.png?alt=media&amp;token=cbdc8875-b068-429f-9cff-f7f1822c2563" alt="" data-size="line"> **Ellipsis** button above the keywords and select **Reset to default**. <br>

   <div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FwVwzsQCyx04m58jOF5hx%2Flexical%20lists%20revert%20to%20default.png?alt=media&amp;token=9f5cebc9-e344-49b9-8a11-a6c5d60a82eb" alt=""><figcaption><p>You can always revert to the default lexical list if you change your mind</p></figcaption></figure></div>

## Create new lexical lists

You can create your own customized lexical lists to meet your organization's requirements.

{% hint style="warning" %}

* You can add up to 1000 keywords to each lexical list. A counter below the keywords indicates how many keywords you've added to the list.
* If you want to add an existing lexical list with more than 1000 items, edit the list before saving.
  {% endhint %}

1. From the top-right corner in any screen, click **Settings** > **Lexical lists**.&#x20;
2. Click **Create new list**.&#x20;
3. Give your lexical list a name.
4. Add or remove keywords, and then click **Save list**.&#x20;

{% hint style="info" %}

* Lexical list items are **case-sensitive**. DoControl detects the lexical item exactly as it is entered. For example, if the file name includes "Salary" and the lexical list item is "salary" then a match will **not** be found.
* After entering each lexical item, click **Enter** or **tab** to add it to the list. Click **X** to remove an item from the lexical list.&#x20;
  {% endhint %}

5. To copy all the keywords in a lexical list, click the <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FG0LJai4SqyevU4rAIAdi%2Fellipsis.png?alt=media&amp;token=cbdc8875-b068-429f-9cff-f7f1822c2563" alt="" data-size="line"> **Ellipsis** button above the keywords and select **Copy all**. \
   \
   ![](https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FPfzcIlzt5AeuROXWKfX9%2Flexical%20list%20functionality.png?alt=media\&token=8fddf224-f2d2-4a58-9ab5-9ad403df6374)
6. To clear all the keywords in a lexical list, click the <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FG0LJai4SqyevU4rAIAdi%2Fellipsis.png?alt=media&amp;token=cbdc8875-b068-429f-9cff-f7f1822c2563" alt="" data-size="line"> **Ellipsis** button above the keywords and select **Clear all**.&#x20;


---

# 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/lexical-lists.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.
