> 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/dlp-policies-and-rules/policies.md).

# Policies

View **Policies** is used to manage data protection policies and review their scope, status, and assigned rules.

A policy defines, **which devices and users the assigned DLP rules apply to**.

From this view, you can, among other things:

* create a new policy,
* check its scope and status,
* display assigned rules,
* edit the configuration,
* change assigned users and devices,
* delete the policy,
* deliver the modified configuration to eAgents.

### Policy view

Go to:

**Data Loss Prevention -> DLP Policies and Rules -> Policies**

The table contains the created policies together with information about their configuration.

<figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FFj7RpP6fq5MLg512pPEp%2Fimage.png?alt=media&amp;token=f8dfe92c-0c34-4eef-9027-b7819ec291e9" alt="Widok polityk DLP w eAuditor Cloud z listą polityk, ich statusem, przypisaniami i liczbą reguł." width="375"><figcaption><p><em>The main view allows you to review the configuration and manage DLP policies.</em></p></figcaption></figure>

#### Information available in the table

| Column                 | Meaning                                 |
| ---------------------- | --------------------------------------- |
| **Policy**             | DLP policy name                         |
| **Rules**              | Number of rules assigned to the policy  |
| **Tags**               | Tags assigned to the policy             |
| **Objects**            | Number of devices covered by the policy |
| **Users**              | Users assigned to the policy            |
| **Excluded users**     | Users excluded from the policy          |
| **Active**             | Whether the policy is active            |
| **Modified by**        | The user who last modified the policy   |
| **Policy description** | Description of the policy's purpose     |
| **Creation date**      | Policy creation date                    |
| **Modification date**  | Date of last modification               |
| **Created by**         | The user who created the policy         |

{% hint style="info" %}
Not all information is needed in daily work. The table can be filtered, making it easier to locate a policy based on a selected parameter.
{% endhint %}

### Viewing policy rules

Click the policy name to expand its details.

The expanded row displays the list of rules belonging to the selected policy.

<figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FgFd6VB2mUYF4EYh1twhC%2Fimage.png?alt=media&amp;token=80eecb0e-5b1e-439c-8728-a9d858236139" alt="Rozwinięta polityka DLP w eAuditor Cloud z widoczną listą przypisanych reguł." width="375"><figcaption><p><em>Expanding a policy allows you to go to rule management.</em></p></figcaption></figure>

From here, you can, among other things, edit the rule, copy it, move it to another policy, or delete it.

Detailed rule management is described in the section [**Rules**](/eacloud-docs-en/features/data-loss-prevention/dlp-policies-and-rules/rules.md).

### Filtering policies

If the system contains a large number of policies, use the filters available in the table.

You can filter data based on selected columns to more quickly find the configuration you need.

For example, you can search for a policy based on:

* name,
* number of rules,
* tag,
* assigned objects,
* user,
* active status.

{% hint style="info" %}
Using clear names and tags makes it easier to manage a larger number of policies later.
{% endhint %}

### Adding a policy

To create a new policy, click:

**+ Add policy**

Then define its name, scope, and assignments.

The complete process for creating the first policy is described in the section [**First DLP policy**](/eacloud-docs-en/features/data-loss-prevention/introduction/first-dlp-policy.md).

### Editing a policy

You can change the configuration of an existing policy without recreating it.

{% stepper %}
{% step %}

#### Open policy editing

Find the policy in the table and click the icon **edit**.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FeLCrbsSuHJQStqqlhQbD%2Fimage.png?alt=media&amp;token=886c8e05-b18d-49f7-9f41-fd3d032ef16e" alt="Polityki i edycja reguły." width="375"><figcaption><p><em>Policies and rule editing.</em></p></figcaption></figure></div>

A panel with the current policy configuration will open.
{% endstep %}

{% step %}

#### Make changes

Depending on your needs, you can change, among other things:

* policy name,
* description,
* assigned devices,
* assigned users,
* excluded users,
* policy status.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FVwofH5pyESqWFOagRE7W%2Fimage.png?alt=media&amp;token=b0b58757-d4e9-473e-8ab3-b901501bfa54" alt="Edycja polityki" width="375"><figcaption><p><em>Policy editing.</em></p></figcaption></figure></div>
{% endstep %}

{% step %}

#### Save configuration

After making changes, save the policy.

The modified configuration will be saved in the console, but that does not yet mean that eAgents are using its new version.
{% endstep %}

{% step %}

#### Update policies

After finishing your changes, use the button:

**Update policies**

Only an update makes it possible to deliver the new configuration to eAgents.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FLJUEMl1KwO3n17cphBx8%2Fimage.png?alt=media&amp;token=d3751b53-c995-46a9-b3e7-5e39a6e286dd" alt="Zaktualizuj polityki" width="375"><figcaption><p><em>Update policies.</em></p></figcaption></figure></div>
{% endstep %}
{% endstepper %}

<figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FVxkaa0Xsp7dB0aNBhXNV%2Fimage.png?alt=media&amp;token=dcf2a0be-5838-401c-b8d2-1c3bd332170f" alt="Panel edycji polityki DLP umożliwiający zmianę nazwy, przypisanych urządzeń, użytkowników i statusu." width="375"><figcaption><p><em>Editing allows you to change the scope of an existing policy without creating it from scratch.</em></p></figcaption></figure>

{% hint style="warning" %}
Changing assignments may cause new devices or users to be brought under the rules or excluded from the current protection. Before saving changes, check the policy scope.
{% endhint %}

### Activating and deactivating a policy

The policy status determines whether its configuration is applied.

* **Active** - rules belonging to the policy can apply to the assigned devices and users.
* **Inactive** - the policy remains saved in the system, but its rules are not applied.

Deactivating a policy does not remove its configuration.

You can therefore temporarily deactivate a policy and then reactivate it without having to recreate its settings.

{% hint style="info" %}
After changing the policy status, remember to use the option **Update policies**, so the change is delivered to eAgents.

![](https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FxPPtAS4ZJhHyqbvpNbMs%2Fimage.png?alt=media\&token=f17159af-c09e-46ec-9a9d-6836c355aad1)
{% endhint %}

### Updating policies on computers

A change made in the console does not immediately affect the configuration running on computers.

After changing the policy or its rules, use the button:

**Update policies**

The button allows you to manually deliver the latest configuration to eAgents.

If no changes have been made since the last update, the button remains disabled. This prevents resending the same configuration.

The button also includes information about the date of the last policy update.

<figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FqQIBaOtqxQumAt3Q4AtO%2Fimage.png?alt=media&amp;token=714b58c3-4662-4e4d-ae55-0057896927b4" alt="Przycisk Zaktualizuj polityki wraz z informacją o ostatniej aktualizacji konfiguracji DLP." width="375"><figcaption><p><em>After changing the configuration, use Update policies to deliver it to eAgents.</em></p></figcaption></figure>

{% hint style="warning" %}
If eAgent is offline at that moment, it will not download the new configuration immediately. Until it reconnects to the server, the computer will use the last received policy version.
{% endhint %}

### Deleting a policy

A policy that is no longer needed can be removed from the system.

{% stepper %}
{% step %}

#### Select a policy

Find the policy you want to delete.
{% endstep %}

{% step %}

#### Select the delete option

Start the action **Delete** for the selected policy.

<div align="left"><figure><img src="https://3262380731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdzip3GyvGq5q5J3qckWN%2Fuploads%2FwMozunGEvjoOHg8XDYiz%2Fimage.png?alt=media&amp;token=80fb7a67-fdf4-43c4-9745-d06fbf52f3d0" alt="Opcja usunięcia polityki." width="375"><figcaption><p><em>Policy deletion option.</em></p></figcaption></figure></div>
{% endstep %}

{% step %}

#### Confirm the operation

The system will ask you to confirm the deletion.

After confirmation, the policy and the rules assigned to it will be deleted.
{% endstep %}

{% step %}

#### Update policies

After removing the configuration, use the option **Update policies**, so the change is delivered to eAgents.
{% endstep %}
{% endstepper %}

{% hint style="danger" %}
Deleting a policy also deletes the rules assigned to it. If the configuration may still be needed, review its contents before deleting it and consider copying the required rules to another policy.
{% endhint %}

### Best practice

With a larger number of policies, it is worth adopting a consistent naming convention.

The name should make it possible to quickly identify both the purpose and the scope of the configuration.

Examples:

* `DLP - Accounting`
* `USB - mobile computers`
* `WWW - standard users`
* `Confidential files - Management`

The policy description is worth using to record information that cannot be conveyed unambiguously by the name alone, such as the policy's purpose or organizational scope.

### FAQ

<details>

<summary><strong>Why is the changed policy not yet taking effect on the computer?</strong></summary>

After saving changes, use the option **Update policies**.

Saving the configuration in the console alone does not immediately deliver it to eAgents.

</details>

<details>

<summary><strong>What happens if the computer is offline during a policy update?</strong></summary>

The computer will use the last received configuration.

The new version can be downloaded after eAgent re-establishes communication with the server.

</details>

<details>

<summary><strong>How can you tell when the policies were last updated?</strong></summary>

Information about the last update is available with the option **Update policies**.

</details>

<details>

<summary><strong>Does deactivating a policy remove its configuration?</strong></summary>

No. An inactive policy remains saved in the system and can be reactivated.

After changing its status, the policies must be updated.

</details>

<details>

<summary><strong>Does deleting a policy also delete its rules?</strong></summary>

Yes. After confirming the policy deletion, the rules assigned to it will also be deleted.

</details>

<details>

<summary><strong>How do you check the rules belonging to a policy?</strong></summary>

Click the policy name in the table. The row will expand and display the rules assigned to it.

</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/dlp-policies-and-rules/policies.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.
