Volver al catálogo
Revisión estáticaDesarrollo

Dosier de la skill

implementing-data-loss-prevention-with-microsoft-purview

Declaración de origen

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 investigating DLP incidents for policy tuning.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

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 investigating DLP incidents for policy tuning.

developmentreferencesscripts

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Análisis estático

Estas observaciones proceden del análisis determinista del código fuente. No son una evaluación controlada de tareas.

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 investigating DLP incidents for policy tuning. This bilingual summary is generated deterministically from collected source text and file structure; it is from static parsing.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Workflow [Source statement; provisional, not tested. Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L56]
  • Step 1: Design the Sensitivity Label Taxonomy [Source statement; provisional, not tested. Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L58]
  • Step 2: Create DLP Policies with Sensitive Information Types [Source statement; provisional, not tested. Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L124]
  • Step 3: Deploy Endpoint DLP Rules [Source statement; provisional, not tested. Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L237]
  • Step 4: Configure Auto-Labeling Policies [Source statement; provisional, not tested. Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L343]
  • Step 5: Monitor with Activity Explorer and Manage DLP Alerts [Source statement; provisional, not tested. Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L394]

Limitaciones y alcance

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Relevante para

  • Practitioners evaluating whether to inspect and install the source skill; this audience is inferred from the product context, not measured usage. [Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L1-L34]

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
4
Archivos Markdown
2
scripts
1
referencias
1
Tamaño
61,4 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/implementing-data-loss-prevention-with-microsoft-purview/LICENSEOtro11 KB
skills/implementing-data-loss-prevention-with-microsoft-purview/references/api-reference.mdReferencia5,2 KB
skills/implementing-data-loss-prevention-with-microsoft-purview/scripts/agent.pyScript14,5 KB
skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.mdInstrucción30,7 KB

Frontmatter de SKILL.md

{
  "name": "implementing-data-loss-prevention-with-microsoft-purview",
  "description": "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 investigating DLP incidents for policy tuning.\n",
  "domain": "cybersecurity",
  "subdomain": "data-protection",
  "tags": [
    "DLP",
    "Microsoft-Purview",
    "sensitivity-labels",
    "endpoint-DLP",
    "data-classification",
    "compliance"
  ],
  "version": "1.0.0",
  "author": "mukul975",
  "license": "Apache-2.0",
  "nist_csf": [
    "PR.DS-01",
    "PR.DS-02",
    "PR.DS-10",
    "GV.PO-01"
  ],
  "mitre_attack": [
    "T1486",
    "T1530",
    "T1537",
    "T1048",
    "T1573"
  ]
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Decisión

    When to Use

    Source-described decision candidate under “When to Use”; not verified execution.

  2. 02
    Acción

    Workflow

    Source-described action candidate under “Workflow”; not verified execution.

  3. 03
    Acción

    Step 1: Design the Sensitivity Label Taxonomy

    Source-described action candidate under “Step 1: Design the Sensitivity Label Taxonomy”; not verified execution.

  4. 04
    Acción

    Establish label tiers: Create a label hierarchy reflecting data sensitivity levels. A standard enterprise taxonomy includes:

    Source-described action candidate under “Step 1: Design the Sensitivity Label Taxonomy”; not verified execution.

  5. 05
    Acción

    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:

    Source-described action candidate under “Step 1: Design the Sensitivity Label Taxonomy”; not verified execution.

  6. 06
    Acción

    Configure content marking: Apply visual indicators that persist with the document:

    Source-described action candidate under “Step 1: Design the Sensitivity Label Taxonomy”; not verified execution.

Examinar todos los pasos de flujo de trabajo candidatos (49 pasos candidatos)
  1. 07
    Decisión

    Publish labels via label policy: Labels must be published to users through a label policy that defines which users see the labels and whether a default label or mandatory labeling is enforced:

    Source-described decision candidate under “Step 1: Design the Sensitivity Label Taxonomy”; not verified execution.

  2. 08
    Acción

    Step 2: Create DLP Policies with Sensitive Information Types

    Source-described action candidate under “Step 2: Create DLP Policies with Sensitive Information Types”; not verified execution.

  3. 09
    Acción

    Create a DLP policy using built-in sensitive information types: Microsoft Purview includes 300+ built-in SITs for credit card numbers, Social Security numbers, passport numbers, and health records. Create a policy targeting financial data:

    Source-described action candidate under “Step 2: Create DLP Policies with Sensitive Information Types”; not verified execution.

  4. 10
    Acción

    Create custom sensitive information types with regex: Define organization-specific patterns for data that built-in SITs do not cover:

    Source-described action candidate under “Step 2: Create DLP Policies with Sensitive Information Types”; not verified execution.

  5. 11
    Acción

    Use sensitivity labels as DLP conditions: Create policies that apply different restrictions based on the label applied to the content:

    Source-described action candidate under “Step 2: Create DLP Policies with Sensitive Information Types”; not verified execution.

  6. 12
    Acción

    Step 3: Deploy Endpoint DLP Rules

    Source-described action candidate under “Step 3: Deploy Endpoint DLP Rules”; not verified execution.

  7. 13
    Acción

    Verify device onboarding: Confirm devices are onboarded to Microsoft Purview endpoint DLP through Microsoft Intune or the local onboarding script:

    Source-described action candidate under “Step 3: Deploy Endpoint DLP Rules”; not verified execution.

  8. 14
    Acción

    Configure endpoint DLP settings: Define global settings that control which applications and file types endpoint DLP monitors:

    Source-described action candidate under “Step 3: Deploy Endpoint DLP Rules”; not verified execution.

  9. 15
    Entrada

    Create endpoint-specific DLP rules: Define rules that control copy-to-USB, print, upload, and clipboard operations for sensitive content:

    Source-described input candidate under “Step 3: Deploy Endpoint DLP Rules”; not verified execution.

  10. 16
    Acción

    Configure printer groups and USB device exceptions: Allow specific printers and approved USB devices while blocking unauthorized removable media:

    Source-described action candidate under “Step 3: Deploy Endpoint DLP Rules”; not verified execution.

  11. 17
    Acción

    Step 4: Configure Auto-Labeling Policies

    Source-described action candidate under “Step 4: Configure Auto-Labeling Policies”; not verified execution.

  12. 18
    Acción

    Create auto-labeling policy for email: Automatically label inbound and outbound emails containing sensitive information:

    Source-described action candidate under “Step 4: Configure Auto-Labeling Policies”; not verified execution.

  13. 19
    Acción

    Create auto-labeling policy for SharePoint and OneDrive: Label existing files at rest that match sensitive information patterns:

    Source-described action candidate under “Step 4: Configure Auto-Labeling Policies”; not verified execution.

  14. 20
    Acción

    Simulate before enforcing: Always run auto-labeling in simulation mode first. Review the simulation results in the Microsoft Purview portal under Information Protection > Auto-labeling. The simulation shows estimated matches per location and sample content matches for validation. Only switch to enforcement mode after confirming accuracy:

    Source-described action candidate under “Step 4: Configure Auto-Labeling Policies”; not verified execution.

  15. 21
    Acción

    Step 5: Monitor with Activity Explorer and Manage DLP Alerts

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  16. 22
    Acción

    Use Activity Explorer and the DLP alerts dashboard to monitor policy effectiveness and investigate incidents:

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  17. 23
    Acción

    Access Activity Explorer: Navigate to Microsoft Purview portal > Data Classification > Activity Explorer. Filter by activity type "DLPRuleMatch" to see all DLP policy matches. Key columns include:

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  18. 24
    Acción

    Activity timestamp and user principal name

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  19. 25
    Acción

    Sensitive information type matched and confidence level

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  20. 26
    Acción

    Policy and rule name that triggered

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  21. 27
    Acción

    Action taken (Audit, Block, Warn with Override)

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  22. 28
    Acción

    Location (Exchange, SharePoint, OneDrive, Endpoint)

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  23. 29
    Acción

    File name and site URL

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  24. 30
    Salida

    Analyze false positive rates: Export Activity Explorer data filtered by "Override" actions with justification text to identify rules that users frequently override. A high override rate (>20%) indicates the rule may be too aggressive or matching non-sensitive content:

    Source-described output candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  25. 31
    Entrada

    Configure DLP alerts: Set up alert policies in Microsoft Purview > Data Loss Prevention > Alerts to receive notifications for high-severity matches:

    Source-described input candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  26. 32
    Acción

    Query DLP events via Microsoft Graph API: Programmatically retrieve DLP alerts and policy match details for integration with SIEM or custom dashboards:

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  27. 33
    Acción

    Retrieve DLP policy match details for compliance reporting: Use the unified audit log to extract granular DLP match data including the matched content, SIT type, and confidence level:

    Source-described action candidate under “Step 5: Monitor with Activity Explorer and Manage DLP Alerts”; not verified execution.

  28. 34
    Acción

    Key Concepts

    Source-described action candidate under “Key Concepts”; not verified execution.

  29. 35
    Acción

    Tools & Systems

    Source-described action candidate under “Tools & Systems”; not verified execution.

  30. 36
    Acción

    Common Scenarios

    Source-described action candidate under “Common Scenarios”; not verified execution.

  31. 37
    Acción

    Design a four-tier sensitivity label taxonomy: Public, Internal, Confidential (with sub-labels for Finance, Legal, HR), and Highly Confidential. Publish labels to all users with "Internal" as the default label and mandatory labeling enabled for email.

    Source-described action candidate under “Scenario: Protecting Financial Data Across a Multinational Organization”; not verified execution.

  32. 38
    Salida

    Create a DLP policy "PCI-DSS Financial Data Protection" scoped to all Exchange, SharePoint, OneDrive, Teams, and Endpoint locations. Configure two rules: a warning rule for 1-4 credit card numbers (notify user, allow override with justification) and a blocking rule for 5+ credit card numbers (block external sharing, generate incident report to compliance team).

    Source-described output candidate under “Scenario: Protecting Financial Data Across a Multinational Organization”; not verified execution.

  33. 39
    Entrada

    Deploy endpoint DLP with rules blocking copy-to-USB and upload-to-unapproved-cloud for any file containing credit card numbers or labeled "Confidential - Finance". Allow printing with audit logging. Configure approved USB device exceptions for encrypted corporate drives by vendor/product ID.

    Source-described input candidate under “Scenario: Protecting Financial Data Across a Multinational Organization”; not verified execution.

  34. 40
    Acción

    Create auto-labeling policies that scan existing SharePoint finance sites and OneDrive locations, automatically applying "Confidential - Finance" to documents matching credit card number or bank account number SITs with confidence level 85+.

    Source-described action candidate under “Scenario: Protecting Financial Data Across a Multinational Organization”; not verified execution.

  35. 41
    Acción

    Run all policies in simulation mode for 14 days. Review Activity Explorer for false positive rates, override patterns, and unprotected sensitive content locations. Tune SIT confidence thresholds from 75 to 85 on the credit card SIT after identifying false positives from partial number sequences in meeting notes.

    Source-described action candidate under “Scenario: Protecting Financial Data Across a Multinational Organization”; not verified execution.

  36. 42
    Acción

    Switch to enforcement mode after stakeholder sign-off. Configure DLP alerts with Microsoft Sentinel integration for real-time incident correlation. Schedule monthly Activity Explorer reviews to track policy effectiveness metrics.

    Source-described action candidate under “Scenario: Protecting Financial Data Across a Multinational Organization”; not verified execution.

  37. 43
    Acción

    Create a custom sensitive information type using regex `RX-20[2-3][0-9]-[0-9]{4}` with corroborating keywords ("compound", "trial", "formulation", "assay", "efficacy") within 300-character proximity. Set primary pattern at 85% confidence and keyword-corroborated pattern at 95%.

    Source-described action candidate under “Scenario: Implementing Custom DLP for Intellectual Property Protection”; not verified execution.

  38. 44
    Acción

    Create a second custom SIT for compound identifiers using regex `CPD-[A-Z]{3}-[0-9]{5}` with keywords ("molecule", "synthesis", "pharmacokinetics") for higher confidence matching.

    Source-described action candidate under “Scenario: Implementing Custom DLP for Intellectual Property Protection”; not verified execution.

  39. 45
    Acción

    Deploy a DLP policy scoped to the Research department's Exchange distribution list, SharePoint research site collection, and research team OneDrive accounts. Block external sharing, block forwarding to non-research internal users, and generate alerts for the research compliance officer.

    Source-described action candidate under “Scenario: Implementing Custom DLP for Intellectual Property Protection”; not verified execution.

  40. 46
    Acción

    Configure endpoint DLP to prevent copy-to-USB and screen capture of documents containing the custom SITs on research department laptops. Allow printing only to approved secure printers in the research facility.

    Source-described action candidate under “Scenario: Implementing Custom DLP for Intellectual Property Protection”; not verified execution.

  41. 47
    Acción

    Create a sensitivity label "Highly Confidential - Research" with encryption restricting access to the Research security group. Configure auto-labeling to apply this label to documents matching either custom SIT.

    Source-described action candidate under “Scenario: Implementing Custom DLP for Intellectual Property Protection”; not verified execution.

  42. 48
    Acción

    Monitor Activity Explorer weekly for 30 days post-deployment. The compliance team identifies that the RX-YYYY-NNNN regex matches historical project codes in archived documents. Refine the regex to `RX-202[4-6]-[0-9]{4}` to target only active project codes and reduce false positives by 60%.

    Source-described action candidate under “Scenario: Implementing Custom DLP for Intellectual Property Protection”; not verified execution.

  43. 49
    Salida

    Output Format

    Source-described output candidate under “Output Format”; not verified execution.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

53 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Media

Network access is mentioned

18 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 18 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

31 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 31 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Credential or secret material is referenced

4 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 4 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
Inspect the pinned source at https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/54a798831d2266a3ca61ce68a7acb80b81160d57/skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md and follow the source repository's installation instructions. No installation was performed or verified by this static analyzer. Source license: Apache-2.0.

Requisitos previos

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Prompts de ejemplo

No proporcionado

Una decisión, con sus límites

Fortalezas

  • The snapshot contains 4 collected file(s), 2 Markdown file(s), and 1 script file(s), enabling source-level inspection. [Evidence: skills/implementing-data-loss-prevention-with-microsoft-purview/SKILL.md:L1]

Aspectos a considerar

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Conclusión de la investigación

Provisional deterministic static inventory only; from static parsing and, separately, controlled evaluation. No install recommendation, security assurance, or effectiveness claim is made.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

mukul975Anthropic-Cybersecurity-Skillsskills/implementing-data-loss-prevention-with-microsoft-purview
Tipo de origen
Comunidad
Commit
54a798831d2266a3ca61ce68a7acb80b81160d57
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
Apache-2.0
Estrellas del repositorio
36.446
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.