email-threat-posture
БесплатноБез исполняемых скриптовНе проверенGenerate email threat protection reports and assess email security posture. Triggers on keywords like "email threat report", "email security posture"…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
Email Threat Protection Posture — Instructions
Purpose
This skill generates an Email Threat Protection Posture Report using Microsoft Defender for Office 365 (MDO) telemetry available through Advanced Hunting. It provides C-level visibility into how effectively the organization's email security stack is detecting, blocking, and remediating email-based threats.
What this skill covers:
| Domain | Key Questions Answered |
|---|---|
| 📬 Mail Flow Overview | How many inbound emails? What's the daily trend? Who are the top senders? |
| 🛡️ Threat Composition | How many phishing, spam, and malware threats were detected? |
| 🎯 Phishing Protection | How many phishing emails were blocked vs delivered? Who are the most targeted users? |
| 🔐 Email Authentication | What are the DMARC/DKIM/SPF/CompAuth pass rates? Which domains fail authentication? |
| 🧹 Post-Delivery Remediation | How effective is ZAP? How many remediations succeeded vs failed? |
| 🔗 Safe Links Protection | How many URL clicks were scanned? Were any phishing clicks allowed through? |
| 📎 Attachment Analysis | What attachment types are flowing through email? Were any malicious? |
| 📊 Detection Methods | What detection technologies are catching threats (URL detonation, fingerprinting, etc.)? |
| 📦 Delivery Disposition | Where do emails end up — inbox, junk, quarantine, blocked? |
| 🚨 MDO Incidents | How many security incidents were generated by Defender for Office? What severity, status, and types? |
Data sources: EmailEvents, EmailPostDeliveryEvents, UrlClickEvents, EmailAttachmentInfo, SecurityAlert, SecurityIncident (Advanced Hunting)
References:
- Microsoft Docs — EmailEvents table
- Microsoft Docs — EmailPostDeliveryEvents table
- Microsoft Docs — UrlClickEvents table
- Microsoft Docs — EmailAttachmentInfo table
- MDO Efficacy Query — Microsoft Learn
🔴 URL Registry — Canonical Links for Report Generation
MANDATORY: When generating reports, copy URLs verbatim from this registry. NEVER construct, guess, or paraphrase a URL.
| Label | Canonical URL |
|---|---|
DOCS_EMAILEVENTS |
https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-emailevents-table |
DOCS_EMAILPOSTDELIVERY |
https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-emailpostdeliveryevents-table |
DOCS_URLCLICKEVENTS |
https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-urlclickevents-table |
DOCS_EMAILATTACHMENTINFO |
https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-emailattachmentinfo-table |
DOCS_MDO_EFFICACY |
https://learn.microsoft.com/en-us/defender-office-365/reports-mdo-email-collaboration-dashboard#appendix-advanced-hunting-efficacy-query-in-defender-for-office-365-plan-2 |
DOCS_MDO_OVERVIEW |
https://learn.microsoft.com/en-us/defender-office-365/mdo-about |
DOCS_SECURITY_ALERT |
https://learn.microsoft.com/en-us/azure/sentinel/data-connectors/microsoft-sentinel-security-alert |
DOCS_ZAP |
https://learn.microsoft.com/en-us/defender-office-365/zero-hour-auto-purge |
DOCS_SAFE_LINKS |
https://learn.microsoft.com/en-us/defender-office-365/safe-links-about |
📑 TABLE OF CONTENTS
- Critical Workflow Rules — Mandatory rules
- Email Protection Score Formula — Composite posture scoring
- Execution Workflow — Phase-by-phase query plan
- Sample KQL Queries — All queries (Q1–Q14)
- Output Modes — Inline vs Markdown report
- Inline Report Template — Chat-rendered format
- Markdown File Report Template — Disk-saved format
- Known Pitfalls — Schema quirks and edge cases
- Quality Checklist — Pre-delivery validation
- SVG Dashboard Generation — Visual dashboard from report
⚠️ CRITICAL WORKFLOW RULES - READ FIRST ⚠️
Use
RunAdvancedHuntingQueryby default — EmailEvents and related tables are XDR-native tables available in Advanced Hunting. UseTimestampas the datetime column. If a query fails in AH, fall back to Sentinel Data Lake (query_lake) usingTimeGenerated.**Default
Установить email-threat-posture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл email-threat-posture?
Generate email threat protection reports and assess email security posture. Triggers on keywords like "email threat report", "email security posture", "phishing report", "MDO report", "Defender for Office 365 report", "ZAP effectiveness", "Safe Links report", "DMARC report", "spam report", "email volume report". Queries EmailEvents, EmailPostDeliveryEvents, UrlClickEvents, and EmailAttachmentInfo in Advanced Hunting for a posture assessment covering inbound mail flow, threat composition, phishing detection, email authentication (DMARC/DKIM/SPF), post-delivery remediation (ZAP), Safe Links click protection, attachment analysis, detection method effectiveness, and delivery disposition. Supports inline chat, markdown file, and SVG dashboard output.
Как установить скилл email-threat-posture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл email-threat-posture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic