implementing-data-loss-prevention-with-microsoft-purview
하는 일
이 도구는 개인 정보나 금융 정보 같은 회사의 중요한 정보가 이메일, 클라우드 스토리지 등을 통해 부적절하게 공유되지 않도록 규칙을 설정하도록 돕습니다. 또한 기밀 라벨로 문서를 분류할 수 있게 합니다.
사용하는 경우
- ✓민감한 데이터가 회사 밖으로 나가는 것을 막아야 할 때.
- ✓문서를 ‘공개’, ‘기밀’ 등으로 분류하는 라벨을 설정할 때.
- ✓누가 민감한 데이터에 접근했거나 공유를 시도했는지 조사하는 경우.
스킬 링크
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이메일로 신용카드 번호를 보내는 것을 차단하는 정책을 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 도구는 특별한 명령(PowerShell)과 Microsoft API를 사용해 데이터 보호 정책을 만들고 관리합니다. 이 정책은 무엇을 민감한 정보로 볼지, 그리고 발견되었을 때 무엇을 할지 정의합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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.
Prerequisites
- Microsoft 365 E5 or E5 Compliance / E5 Information Protection add-on license assigned to target users
- Global Administrator, Compliance Administrator, or Compliance Data Administrator role in the Microsoft Purview portal
- Exchange Online PowerShell module (ExchangeOnlineManagement v3.x) and Security & Compliance PowerShell for policy automation
- Devices onboarded to Microsoft Purview endpoint DLP through Microsoft Intune or Configuration Manager (Windows 10/11 21H2+, macOS 12+)
- Data classification scan completed or content explorer populated to understand existing sensitive data distribution
- Stakeholder agreement on sensitivity label taxonomy (classification levels, encryption requirements, scope)
Workflow
Step 1: Design the Sensitivity Label Taxonomy
Define the classification hierarchy that maps to organizational data handling requirements:
- Establish label tiers: Create a label hierarchy reflecting data sensitivity levels. A standard enterprise taxonomy includes:
Public -> No protection, external sharing allowed General -> No encryption, internal watermark "GENERAL" Confidential -> Encryption (all employees), header/footer marking ├─ Confidential - All Employees ├─ Confidential - Finance └─ Confidential - HR Highly Confidential -> Encryption (specific users/groups), watermark, no forwarding ├─ Highly Confidential - Project X └─ Highly Confidential - Board Only - Define protection settings per label: For each label, configure encryption scope (all employees, specific groups, or custom permissions), content marking (headers, footers, watermarks), and auto-labeling conditions:
# Connect to Security & Compliance PowerShell Connect-IPPSSession -UserPrincipalName admin@contoso.com # Create parent label New-Label -DisplayName "Confidential" ` -Name "Confidential" ` -Tooltip "Business data that could cause damage if disclosed to unauthorized parties" ` -Comment "Apply to internal business documents, financial reports, and customer data" # Create sub-label with encryption New-Label -DisplayName "Confidential - Finance" ` -Name "Confidential-Finance" ` -ParentId (Get-Label -Identity "Confidential").Guid ` -Tooltip "Financial data restricted to Finance department" ` -EncryptionEnabled $true ` -EncryptionProtectionType "Template" ` -EncryptionRightsDefinitions "finance-group@contoso.com:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,OBJMODEL" ` -ContentType "File, Email" - Configure content marking: Apply visual indicators that persist with the document:
Set-Label -Identity "Confidential-Finance" ` -HeaderEnabled $true ` -HeaderText "CONFIDENTIAL - FINANCE" ` -HeaderFontSize 10 ` -HeaderFontColor "#FF0000" ` -HeaderAlignment "Center" ` -FooterEnabled $true ` -FooterText "This document contains confidential financial information" ` -WatermarkEnabled $true ` -WatermarkText "CONFIDENTIAL" ` -WatermarkFontSize 36
…
자주 묻는 질문
이것을 사용하려면 비용을 내야 하나요?
네, 이 도구를 사용하려면 E5 Compliance나 E5 Information Protection 같은 특정 Microsoft 365 라이선스가 필요합니다.
혼자서 설정할 수 있나요?
Microsoft Purview에서 관리자 권한이 필요하며, 엔드포인트 보호 같은 일부 기능은 회사 컴퓨터를 관리하는 팀과 협력해야 합니다.
‘사용자 지정 민감 정보 유형’이란 무엇인가요?
내부 프로젝트 코드나 특정 계좌 번호처럼 일반 표준에 포함되지 않은 회사 고유 정보를 식별하기 위해 직접 만드는 패턴입니다.
상세 정보
작성자의 원본 설명
Implements DLP policies using Microsoft Purview PowerShell cmdlets and the Graph API to protect data across Exchange Online, SharePoint, OneDrive, Teams, endpoints, and Power BI, including sensitivity labels, custom sensitive information types with regex, endpoint DLP rules, and Activity Explorer monitoring. Use when stopping PII/PHI/PCI exfiltration, configuring sensitivity labels, or investigati
인기도
- GitHub 스타
- 35k
- 순위
- #8022
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.