# Policy Rules

### **Overview**

The **Policy Rules** tab under **Compliance > DLP Policies** in the Mango Admin Portal allows administrators to manage Data Loss Prevention (DLP) policies. These policies help monitor and control sensitive data, ensuring compliance with security and privacy regulations.

<figure><img src="/files/OkOkGQ6xW20ZZEtb6o8G" alt="" width="563"><figcaption></figcaption></figure>

***

### **Understanding the Policy Rules Table**

The table displays details for each policy.

**Name**: The title of the DLP policy.

**Last Modified On**: The most recent date and time the policy was edited.

**Last Modified By**: The name of the user who last made changes.

**Status**: Toggle switch indicating whether the policy is enabled (blue) or disabled (gray).

**Sorting**: Click on the column headers to sort policies.

***

### **Managing DLP Policies**

Each policy has a three-dot **menu** (⋮) on the right side with additional actions.

<figure><img src="/files/gXgq5ux7KqGN15RxwsXx" alt="" width="563"><figcaption></figcaption></figure>

**Edit Policy**: Modify the selected policy's settings.&#x20;

**View Matches**: Review detected violations related to the policy.

**Delete Policy**: Remove the policy from the system.

**Do a Test Run:** After an admin creates a new policy, they can run a test to ensure everything is working correctly. Clicking **Do a Test Run** opens a **Message** window, allowing the testing admin to send a test message. The results will appear in the **Matches Log** and will send a message to the testing admin.

<figure><img src="/files/12riSES1jLYj3pnB3fs6" alt="" width="563"><figcaption></figcaption></figure>

***

### **Creating a New Policy**

Click the **"Create New Policy"** button at the top right to define the policy rules and conditions. Save the policy to activate monitoring.

<figure><img src="/files/pXjej6yUl1wCDoqO74oT" alt=""><figcaption></figcaption></figure>

For information on creating DLP policies, click [here](https://guides.mangoapps.com/admin-guide/compliance/dlp-policies/create-a-dlp-policy).


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.mangoapps.com/admin-guide/compliance/dlp-policies/policy-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
