Command Palette

Search for a command to run...

Назад к скиллам
скилл № 43735

sentinel-ingestion-report

Sentinel Ingestion Report — YAML-driven PowerShell pipeline gathers all data via az monitor/az rest/Graph API, writes a deterministic scratchpad, LLM renders…

БесплатноЗапускает вложенные скрипты
SCStelzот SCStelz★ 256 звёзд на GitHub

Установить sentinel-ingestion-report в Claude Code и Claude Desktop

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

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

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

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

Sentinel Ingestion Analysis Report — Instructions

Purpose

This skill generates a comprehensive Sentinel Ingestion Analysis Report covering workspace data volume, table-level breakdown, tier classification, ingestion anomalies, detection coverage, and optimization opportunities.

Entity Type: Sentinel workspace (from config.json)

Scope Primary Tables Use Case
Workspace-wide (default) Usage, SentinelHealth, SentinelAudit Full ingestion and cost analysis
Per-table deep dive SecurityEvent, Syslog, CommonSecurityLog + any table Granular breakdown of high-volume tables

What this report covers: Table-level volume breakdown with tier classification (Analytics/Basic/Data Lake), SecurityEvent/Syslog/CommonSecurityLog deep dives, ingestion anomaly detection (24h and week-over-week), analytic rule inventory with detection coverage cross-reference, rule health monitoring, tier migration candidates with DL-eligibility assessment, and license benefit analysis (DfS P2 and M365 E5).


Architecture

 ┌─────────────────────────────────────────────────────────────────┐
 │  YAML query files        PowerShell script        LLM render    │
 │  queries/phase1-5/  ──→  Invoke-IngestionScan  ──→  Phase 6     │
 │  (23 .yaml files)        .ps1 (~2600 lines)       (SKILL-       │
 │                          • az monitor (KQL)        report.md)   │
 │                          • az rest (REST API)                   │
 │                          • az monitor table list                │
 │                          • Invoke-MgGraphRequest                │
 │                          ↓                                      │
 │                     temp/ingest_scratch_<ts>.md                 │
 │                     (~50 KB, 64 sections)                       │
 └─────────────────────────────────────────────────────────────────┘

Execution model:

  • Phases 1-5 (data gathering): Fully automated by Invoke-IngestionScan.ps1. KQL queries run via az monitor log-analytics query. Non-KQL data (analytic rules, tier classifications, custom detections) is gathered via REST API, Azure CLI, and Microsoft Graph.
  • Phase 6 (rendering): LLM reads the scratchpad + SKILL-report.md and renders the report. This is the only phase requiring LLM involvement.

Design decision — TopRecommendations: The Top 3 Recommendations are computed by the LLM at render time (Phase 6), not pre-computed by PS1. Three of the seven Rule E categories (Data loss, DCR filter, Split ingestion) require cross-section reasoning that spans multiple scratchpad sections — this is precisely what the LLM excels at. The PS1 provides all the raw data; the LLM applies Rule E scoring across it.


Companion Files — When to Load

This skill spans 4 files. Load only the file(s) needed for the current phase:

File Purpose When to Load
SKILL.md (this file) Architecture, workflow, rendering rules, domain reference Always — primary entry point
SKILL-report.md Report templates (§1-§8), section-to-scratchpad mapping, formatting rules Phase 6 rendering only
SKILL-drilldown.md Post-report drill-down — rule cross-referencing (AR + CD via Graph API), ASIM parser verification, known pitfalls, error handling After report is generated, when user asks follow-up questions (see §13 summary)
Invoke-IngestionScan.ps1 PowerShell data-gathering pipeline (Phases 1-5) Execution only — no need to read unless debugging
slice_scratch.py Read-only verbatim block slicer — extracts ## PRERENDERED tables/skeleton byte-for-byte so they aren't mangled by hand-copy Phase 6 rendering (optional but recommended)
render_dashboard.py Deterministic SVG dashboard renderer — parses scratchpad + report + svg-widgets.yaml into the 7-row dashboard (no hardcoded run data) SVG Dashboard Generation (default — run this when asked to visualize)

📑 TABLE OF CONTENTS

  1. Quick Start - 3-step execution pattern
  2. Critical Workflow Rules - Prerequisites and prohibitions
  3. Execution Workflow - Phases 0-6
  4. Query File Reference - All 23 YAML files
  5. Output Modes - Inline chat vs. Markdown file
  6. Deterministic Rendering Rules - Rules A-G (mandatory for Phase 6)
  7. Domain Reference - SecurityEvent, Syslog, CommonSecurityLog interpretation
  8. Tier Classification - Analytics vs Basic vs Data Lake background
  9. Migration Classification - Zero-rule table categorization for §7a
  10. **[Ref
Полный SKILL.md на GitHub

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

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

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

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

  • Invoke-IngestionScan.ps1
  • SKILL-drilldown.md
  • SKILL-report.md
  • queries/phase1/Q1-UsageByDataType.yaml
  • queries/phase1/Q2-DailyIngestionTrend.yaml
  • queries/phase1/Q3-WorkspaceSummary.yaml
  • queries/phase2/Q4-SecurityEventByComputer.yaml
  • queries/phase2/Q5-SecurityEventByEventID.yaml
  • queries/phase2/Q6a-SyslogByHost.yaml
  • queries/phase2/Q6b-SyslogByFacilitySeverity.yaml
  • queries/phase2/Q6c-SyslogByProcess.yaml
  • queries/phase2/Q7-CSLByVendor.yaml
  • queries/phase2/Q8-CSLByActivity.yaml
  • queries/phase3/Q10-TableTierClassification.yaml
  • queries/phase3/Q10b-TierSummary.yaml
  • queries/phase3/Q9-AnalyticRuleInventory.yaml
  • queries/phase3/Q9b-CustomDetectionRules.yaml
  • queries/phase4/Q11-RuleHealthSummary.yaml
  • queries/phase4/Q11d-FailingRuleDetail.yaml
  • queries/phase4/Q12-SecurityAlertFiring.yaml
  • queries/phase4/Q13-AllTablesWithData.yaml
  • queries/phase5/Q14-IngestionAnomaly24h.yaml
  • queries/phase5/Q15-WeekOverWeek.yaml
  • queries/phase5/Q16-MigrationCandidates.yaml
  • queries/phase5/Q17-LicenseBenefitAnalysis.yaml
  • queries/phase5/Q17b-E5PerTableBreakdown.yaml
  • render_dashboard.py
  • slice_scratch.py
  • svg-widgets.yaml
  • test-data/enterprise/ingestion-q1.json
  • test-data/enterprise/ingestion-q10.json
  • test-data/enterprise/ingestion-q10b.json
  • test-data/enterprise/ingestion-q11.json
  • test-data/enterprise/ingestion-q11d.json
  • test-data/enterprise/ingestion-q12.json
  • test-data/enterprise/ingestion-q13.json
  • test-data/enterprise/ingestion-q14.json
  • test-data/enterprise/ingestion-q15.json
  • test-data/enterprise/ingestion-q16.json
  • test-data/enterprise/ingestion-q17.json

FAQ

Что делает скилл sentinel-ingestion-report?

Sentinel Ingestion Report — YAML-driven PowerShell pipeline gathers all data via az monitor/az rest/Graph API, writes a deterministic scratchpad, LLM renders the report. Covers table-level volume breakdown, tier classification (Analytics/Basic/Data Lake), SecurityEvent/Syslog/CommonSecurityLog deep dives, ingestion anomaly detection (24h and WoW), analytic rule inventory via REST API, rule health via SentinelHealth, detection coverage cross-reference, tier migration candidates with DL-eligibility lookup, license benefit analysis (DfS P2 500MB/server/day, M365 E5 data grant). Inline chat and markdown file output.

Как установить скилл sentinel-ingestion-report?

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

Скилл sentinel-ingestion-report запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить sentinel-ingestion-report с