跳到正文
Skillpedia
通用编程35k · #8022

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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
    

…

常见问题

使用这个工具需要付费吗?

需要。你需要特定的 Microsoft 365 许可证(比如 E5 Compliance 或 E5 Information Protection)才能使用。

我可以自己设置吗?

你需要在 Microsoft Purview 中拥有管理员权限。另外,对于某些部分(比如终端保护),你需要和负责管理公司电脑的团队配合。

什么是“自定义敏感信息类型”(custom sensitive information types)?

这些是你自己创建的匹配模式,用来识别通用标准没有覆盖的公司特定信息,比如内部项目代码或特定的账号编号。

详情

作者的原始描述

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

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8022
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能