Individual skill
implementing-data-loss-prevention-with-microsoft-purview
Implements data loss prevention policies using Microsoft Purview to protect sensitive information across Exchange Online, SharePoint, OneDrive, Teams, endpoint devices, and Power BI. The analyst configures sensitivity labels with encryption and content marking, creates DLP policies using built-in and custom sensitive information types with regex patterns, deploys endpoint DLP rules to control file operations on Windows and macOS devices, and monitors policy effectiveness through Activity Explorer and DLP alert management. Uses PowerShell cmdlets and the Microsoft Graph API for programmatic policy management. Activates for requests involving DLP policy creation, sensitivity label configuration, data classification, endpoint data protection, or Microsoft Purview compliance administration.
internal/tools/skills/data/data-protection/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md
Source commit d42f381ad34843e71a42658e5c57290c713e85af
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,329
- Repository last updated
- Nov 9, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- cybersecurity Repository topic
- security Repository topic
- bug-bounty Repository topic
- automation Repository topic
- autonomous-pentesting Repository topic
- ai-agent Repository topic
- ai-security Repository topic
- ethical-hacking Repository topic
- golang Repository topic
- penetration-testing Repository topic
- dlp Declared skill tag
- microsoft-purview Declared skill tag
- sensitivity-labels Declared skill tag
- endpoint-dlp Declared skill tag
- data-classification Declared skill tag
- compliance Declared skill tag
- legal Derived category
- operations Derived category
- writing Derived category
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytesSKILL.mdcore · 33,357 bytes
Read excerpt
# Implementing Data Loss Prevention with Microsoft Purview
## When to Use
- Deploying DLP policies to prevent sensitive data (PII, PHI, PCI, intellectual property) from leaving the organization through email, cloud storage, chat, or endpoint file operations
- Configuring sensitivity labels with encryption, content marking, and auto-labeling to classify documents and emails by confidentiality level
- Creating custom sensitive information types with regex patterns to detect organization-specific data formats (employee IDs, project codes, internal account numbers)
- Deploying endpoint DLP to control copy-to-USB, print, upload-to-cloud, and copy-to-clipboard actions for labeled or sensitive content on managed devices
- Investigating DLP incidents through Activity Explorer to analyze policy match events, user activity patterns, and false positive rates for policy tuning
**Do not use** without appropriate Microsoft 365 E5, E5 Compliance, or E5 Information Protection licensing. Do not deploy DLP policies directly to production enforcement mode without a simulation period. Do not configure endpoint DLP without coordinating with the endpoint management team responsible for device onboarding.
## Common Misconfigurations & Verification
- **Policy stuck in test mode:** a DLP policy created with `-Mode TestWithNotifications` (or `TestWithoutNotifications`) audits but never blocks. Confirm enforcement with `Get-DlpCompliancePolicy | Select Name,Mode` and only `Enable` after simulation review.