> 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="https://1733114811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lclpq021Ai9jH1_X4gO%2Fuploads%2FbSRHfGqEVhCMfclFDjkb%2F25-03-2025-09-25-40.png?alt=media&amp;token=bbba89b6-088b-4f31-a71c-e5e2db95b08b" 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="https://1733114811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lclpq021Ai9jH1_X4gO%2Fuploads%2FIcVGp9oQwpOGHHIccgXD%2F25-03-2025-09-25-40a.png?alt=media&amp;token=3516c33b-a9e4-4d44-9d64-eec53c7b46b3" 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="https://1733114811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lclpq021Ai9jH1_X4gO%2Fuploads%2FOTt7cTFnIk1kawue9gij%2F25-03-2025-12-09-24.png?alt=media&amp;token=f0c47d74-eff2-4c6b-a89a-92939bbc53a9" 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="https://1733114811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lclpq021Ai9jH1_X4gO%2Fuploads%2FnaKm84jUxrg8XiakFLM9%2F25-03-2025-09-25-40b.png?alt=media&amp;token=c5221608-6140-4b6d-a3a0-5307b4fa5ccc" 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).
