> For the complete documentation index, see [llms.txt](https://eaclouddoc.eauditor.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eaclouddoc.eauditor.eu/eacloud-docs-en/features/data-loss-prevention/introduction/first-dlp-policy.md).

# First DLP Policy

The policy defines **which users or devices the data protection rules should apply to**.

Creating a policy alone does not yet define what the system should detect or block. After defining the policy scope, you must create or assign the appropriate rules to it.

In this guide, you will create the first policy, define its scope, and prepare it for adding DLP rules.

{% hint style="info" %}
If you are not yet familiar with the relationship between a policy, a rule, a trigger, and an action, first see the page[ **How data protection works**](/eacloud-docs-en/features/data-loss-prevention/introduction/how-data-protection-works.md).
{% endhint %}

### Creating a policy

{% stepper %}
{% step %}

#### Go to the policy view

Go to:

**Data Loss Prevention -> Policies**

The view contains previously created policies, along with information about their configuration and assignments.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FVoALWKbHTR4KAOECTp4U%2Fimage.png?alt=media&amp;token=7f8baef9-4985-4538-8ea7-10e9221c46c8" alt="Widok polityk ochrony danych w eAuditor Cloud z przyciskiem Dodaj politykę." width="375"><figcaption><p><em>Data protection policy view.</em></p></figcaption></figure></div>
{% endstep %}

{% step %}

#### Add a new policy

Click **+ Add policy**.

The configuration panel for the new policy will open on the right side of the screen.
{% endstep %}

{% step %}

#### Enter a name and description

Enter:

* **Policy name** - required field. Use a name that clearly identifies the policy’s purpose.
* **Description** - optional information that makes it easier to later identify the purpose of the policy.

Instead of a generic name, for example `Policy 1`, it is better to use a name that describes the scope or purpose, for example:

* `DLP - Accounting`,
* `USB Control - employees`,
* `Data Protection - mobile computers`.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FB0uWaKnkGatV5JN4Yr6s%2Fimage.png?alt=media&amp;token=659c827f-5b9a-4530-96b6-fd8135de083d" alt="Panel tworzenia polityki DLP z polami nazwy i opisu polityki." width="375"><figcaption><p><em>Basic information about the policy being created.</em></p></figcaption></figure></div>
{% endstep %}

{% step %}

#### Select the computers covered by the policy

In the section **Target objects** specify the devices for which the policy should apply.

By default, the policy can include all devices.

If you want to limit its scope, select **Custom**, and then specify the appropriate computers or computer groups.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FCxX1gHVwa9IuJ5NEas8o%2FZrzut%20ekranu%202026-09-15%20143136.png?alt=media&amp;token=66fbeba9-1eeb-419a-82ce-ec30e5d0c29d" alt="Sekcja Obiekty docelowe podczas tworzenia polityki DLP z możliwością wyboru wszystkich lub wskazanych komputerów." width="375"><figcaption><p><em>Selecting the computers covered by the policy.</em></p></figcaption></figure></div>

{% hint style="warning" %}
Before leaving the setting that includes all devices, make sure the policy being created should actually apply across the entire environment. This is especially important for blocking rules.
{% endhint %}
{% endstep %}

{% step %}

#### Select the users covered by the policy

In the section **Target users** specify the users to which the policy should apply.

You can:

* apply the policy to all users,
* select **Custom** and specify selected users,
* specify users who should not be covered by the policy.

Exclusions are useful if the policy should apply to a broad group of users except for specific individuals.

Example:

The policy applies to all users of the Accounting department computers, but the IT administrator should be excluded from it.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FsaS8pQAg6oItA06sBbPx%2Fimage.png?alt=media&amp;token=58cb9ea3-abff-4e13-8130-8f8140b4d309" alt="Sekcja Użytkownicy docelowi podczas tworzenia polityki DLP z możliwością wyboru i wykluczania użytkowników." width="375"><figcaption><p><em>Defining the users covered by the policy.</em></p></figcaption></figure></div>
{% endstep %}

{% step %}

#### Set the policy status

In the section **Status** decide whether the policy should be active.

* **Active** - the policy can be applied after the rules are configured and the current configuration is delivered to the eAgents.
* **Inactive** - the configuration remains saved, but the policy is not applied.

While preparing a new configuration, you can leave the policy inactive and enable it only after configuration is complete and the rules have been verified.

{% hint style="info" %}
An active policy status does not mean that every change made in the console has already been delivered to the computers. After completing the configuration, use the **Update policies**.
{% endhint %}
{% endstep %}

{% step %}

#### Go to rule creation

After entering the required information, the **Next step**.

button will become active. Click it to proceed to the configuration of the first rule assigned to the policy.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FoI1R4NLghT41qBZUO7oO%2Fimage.png?alt=media&amp;token=f3303757-e38d-4732-9bba-f2ff2a938097" alt="Widok tworzenia pierwszej reguły DLP po skonfigurowaniu nowej polityki." width="375"><figcaption><p><em>After creating the policy, you can start configuring its first rule.</em></p></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### Policy and rules

After completing the steps above, the **scope of the policy**.

has been defined. The next stage is to determine **what the system should monitor and how it should respond**.

Rules are used for this.

For example, a policy:

**DLP - Accounting**

may contain several independent rules:

| Rule                      | Purpose                                       |
| ------------------------- | --------------------------------------------- |
| USB storage control       | Control of USB media usage                    |
| Sending documents         | Response to sending specified files           |
| Copying data              | Control of copying operations                 |
| Unauthorized applications | Response to the launch of specified processes |

This eliminates the need to create a separate policy for each type of control.

{% hint style="info" %}
A policy can be treated as the protection scope, while rules define the specific policies that apply within that scope.
{% endhint %}

### Before enabling the policy

After creating the rules, review the entire configuration before applying it to a larger number of computers.

{% stepper %}
{% step %}

#### Check assignments

Make sure the policy covers the correct computers and users.
{% endstep %}

{% step %}

#### Check rule status

Verify that the rules that are supposed to run are active.
{% endstep %}

{% step %}

#### Check triggers and actions

For blocking rules, make sure the conditions are not too broad and do not restrict users from working properly.
{% endstep %}

{% step %}

#### Update policies

Click **Update policies**to make the latest configuration available to the eAgents.

Until the update is delivered, computers may operate according to the previous version of the policies.
{% endstep %}

{% step %}

#### Run a test

If this is a new policy, test its behavior on a limited number of computers.

Perform a controlled event that matches the configured rule, and then check the result in:

**Data Loss Prevention -> DLP Logs**
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
New blocking rules should initially be deployed on a test computer or test group. This makes it possible to verify the configuration before applying it across the entire organization.
{% endhint %}

### FAQ

<details>

<summary><strong>Is creating a policy enough to start data protection?</strong></summary>

No. The policy primarily defines the scope of operation. For the system to respond to specific events, the policy must contain properly configured rules.

</details>

<details>

<summary><strong>Does a policy have to include all computers and all users?</strong></summary>

No. The policy scope can be limited to selected computers, computer groups, or users. It is also possible to specify users excluded from the policy.

</details>

<details>

<summary><strong>Can I create a policy and leave it disabled?</strong></summary>

Yes. A policy can be configured and left inactive, and then enabled after configuration and testing are complete.

</details>

<details>

<summary><strong>Can one policy contain several different rules?</strong></summary>

Yes. One policy can contain multiple rules responsible for different types of data protection.

</details>

<details>

<summary><strong>Why has the change not yet taken effect on the computer?</strong></summary>

After changing the configuration, use the **Update policies**.

Until the current configuration is downloaded by the eAgent, the computer may operate according to the previous version of the policies.

</details>


---

# 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://eaclouddoc.eauditor.eu/eacloud-docs-en/features/data-loss-prevention/introduction/first-dlp-policy.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.
