Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

data-security-analysis

БесплатноБез исполняемых скриптовНе проверен

Analyze data security events, sensitive information type (SIT) access, sensitivity label access, DLP matches, or Purview insider risk activity. Triggers on…

SCStelzот SCStelz★ 256 звёзд на GitHub

Об этом скилле

Data Security Events Analysis — Instructions

Purpose

This skill analyzes DataSecurityEvents (Microsoft Purview Insider Risk Management / DLP telemetry) to answer questions about who accessed documents containing sensitive information types (SITs) and/or sensitivity labels — including EDM (Exact Data Match), built-in SITs (credit cards, SSNs, etc.), trainable classifiers, and Microsoft Purview sensitivity labels (Confidential, Highly Confidential, custom labels, etc.).

Primary Table: DataSecurityEvents (Defender XDR Advanced Hunting)

Use Case Example Question
SIT access audit "Who accessed files with credit card numbers in the last 30 days?"
EDM monitoring "Show me all access to documents matching our EDM SIT"
DLP event analysis "What DLP policy matches occurred this week?"
Insider risk triage "Which users have the most sensitive data interactions?"
SIT landscape overview "What sensitive information types exist in our environment?"
Sensitivity label audit "Who accessed Highly Confidential labeled documents?"
Label change tracking "Show me all label downgrades in the last 30 days"
Copilot label exposure "What labeled documents did Copilot access in risky interactions?"

📑 TABLE OF CONTENTS

  1. Critical Workflow Rules - Start here!
  2. SIT GUID Mapping Strategy - How SIT GUIDs are resolved to names
  3. Label GUID Mapping Strategy - How sensitivity label GUIDs are resolved to names
  4. Output Modes - Inline chat vs. Markdown file
  5. Quick Start - 8-step execution pattern
  6. Execution Workflow - 6-phase analysis process
  7. Sample KQL Queries - Validated query patterns (Queries 1-16d)
  8. Report Template - Rendering rules (15 rules) + output format specification
  9. Known Pitfalls - Table quirks and edge cases (27 entries)
  10. Error Handling - Troubleshooting guide
  11. SVG Dashboard Generation - Visual dashboard from report data

Investigation shortcuts:

  • DLP/exfiltration incident entities (TP Q1): Q3 (top users by SIT volume) → Q6 (DLP policy matches) → Q9 (single-user SIT profile for each incident entity) → Q10b (file-based spikes)
  • High-volume mailbox API access (TP Q9): Q9 (single-user SIT profile for API actors) → Q4 (top files accessed) → Q10b (file-based spikes) → Q6 (DLP policy matches)
  • Risky identity with data access (TP Q3): Q9 (single-user SIT profile) → Q4 (top files) → Q13 (label downgrade/changes by user)
  • Copilot sensitive data exposure (TP Q1 Copilot incidents, or TP Q10 AppRegistration with AI keywords): Q16a (Copilot SIT landscape + agent/human split) → Q16b (top human users, high-priority SITs) → Q16d (prompt-only risk signal)
  • Label compliance / downgrade alert (TP Q1 label-related incidents): Q13 (label changes) → Q15 (label-only events) → Q14 (Copilot label exposure)
  • Tenant-wide data security posture (standalone, no TP trigger): Full Phase 1–5 workflow

⛔ Shortcut Default Rule: When a matching shortcut exists for the investigation context, use it — don't run the full workflow. Only run the full Phase 1-5 sequence when the user explicitly requests "full analysis", "comprehensive", or "tenant-wide overview". Shortcuts render only the report sections relevant to their query chain (plus Executive Summary and Recommendations, always).

When invoked from a parent skill (threat-pulse, incident-investigation, user-investigation):

  • Inherit the workspace selection from the parent investigation context
  • Skip output mode prompts — default to inline chat (the parent skill controls the final output format)
  • Match the TP Q# trigger to the shortcuts above and execute that chain with entity substitution
  • Use 30d lookback (AH default) unless the parent specifies otherwise

⚠️ CRITICAL WORKFLOW RULES - READ FIRST ⚠️

Before starting ANY data security analysis:

  1. ALWAYS use RunAdvancedHuntingQuery — DataSecurityEvents is an Advanced Hunting table, NOT available in Sentinel Data Lake
  2. ALWAYS run Query 1 (SIT Discovery) first — establishes which SITs are active and builds the GUID-to-Name mapping
  3. ALWAYS use summarize aggressively — this table can have 600k+ rows in 30 days even in mid-size tenants. NEVER retrieve raw rows except for targeted samples
  4. ALWAYS pre-filter with has before mv-expand on SensitiveInfoTypeInfo — the has "<GUID>" filter avoids expensive expansion on non-matching rows
  5. ALWAYS use tostring() + double parse_json() for SensitiveInfoTypeInfo — it's `Collection(
Полный SKILL.md на GitHub

Установить data-security-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

svg-widgets.yaml

FAQ

Что делает скилл data-security-analysis?

Analyze data security events, sensitive information type (SIT) access, sensitivity label access, DLP matches, or Purview insider risk activity. Triggers on keywords like "data security", "sensitive information type", "SIT access", "DLP events", "DataSecurityEvents", "EDM access", "credit card access", "insider risk activity", "Purview data security", "sensitivity label", "label downgrade", "label change", "Copilot label exposure". Queries DataSecurityEvents in Advanced Hunting to produce SIT and label access analysis: volume breakdowns, user drill-downs, file inventories, action type distribution, DLP correlation, label change tracking, Copilot label exposure, temporal patterns, and risk-ranked user summaries. Inline chat or markdown output. Designed for large environments (100k+ users) with tiered drill-down.

Как установить скилл data-security-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл data-security-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить data-security-analysis с