> For the complete documentation index, see [llms.txt](https://guides.mangoapps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.mangoapps.com/admin-guide/compliance/dlp-policies/policy-rules.md).

# 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).
