Azure-Sentinel / Microsoft-Sentinel-Classic-CLv1-Tables-Impact-Assessment
Copilot instructions6.2k starsChanged 6 months agoMITView on GitHub
These instructions apply to all Copilot interactions in this repository. They provide context about the project, coding conventions, and domain knowledge so that Copilot can give accurate, relevant assistance. PowerShell tool that discovers classic V1 custom log tables (CLv1) in a Microsoft Sentinel / Log Analytics workspace, assesses dependency impact across all content types, and maps tables to Content Hub solutions with connector classification. The HTTP Data Collector API retires September 14, 2026. All classic custom log tables must migrate…
Trending
Quiet since July.thin dataabout the whole repository
Who's talking about Azure/Azure-Sentinel
- @github-trending.bsky.social“📦 Azure / Azure-Sentinel ⭐ 4,774 (+3) 🗒 Python Cloud-native SIEM for intelligent security analytics for …”Bluesky · Feb 12, 2025 · 2 likes
- pulumi/pulumi-cloud-requests“Logs automated export into Azure Storage Account and/or Log Analytics Workspace”GitHub · Aug 9, 2024 · 2 reactions
- octocat/Spoon-Knife“**Describe the bug**”GitHub · Jun 11, 2022 · 2 reactions
- redaliscbe/Azure-Sentinel“Feature 1”GitHub · Jul 8, 2026 · 1 reactions
- wortell/AZSentinel“Updat the Entity eum to include all the new types”GitHub · Dec 3, 2020 · 1 reactions
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository14 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- asim-parser-create-parameter-parserSkill
- asim-parser-create-parserSkill
- asim-parser-creator-orchestratorSkill
- asim-parser-filter-validatorSkill
- asim-parser-github-pr-packagerSkill
- asim-parser-la-deployerSkill
- asim-parser-pr-reviewerSkill
- asim-parser-user-prompterSkill
- asim-parser-validatorSkill
- az-cli-command-runnerSkill
- log-analytics-workspace-queryerSkill
- run-solution-analyzerSkill
- update-solution-analyzerSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 71
Always end with _CL suffix
- Distinctive: line 73
Must be migrated to DCR-based custom tables using the Logs Ingestion API
- Distinctive: line 77
When mapping tables to Content Hub solutions, each connector is classified:
- Very specific: line 111
All ARM calls go through Invoke-ArmRequest — handles pagination and token refresh
- Very specific: line 114
Use the Write-Step/Info/Ok/Warn2/Err helpers for console output
- Distinctive: line 115
Avoid comments unless explaining complex algorithms
- Distinctive: line 116
No build step — the script runs directly
- Distinctive: line 122
Must work offline — no external CDN or asset references
- Very specific: line 129
Do not edit solution-mapping.json manually — it is auto-generated
- Very specific: line 135
Commit messages follow conventional commit format (feat:, fix:, docs:, chore:)
- Distinctive: line 139
Do not suggest breaking the script into multiple module files — the single-file design is intentional
- Very specific: line 140
Do not add Write-Host calls — use the existing output helpers
- Very specific: line 141
Do not call Invoke-RestMethod directly — use Invoke-ArmRequest
- Distinctive: line 142
Do not suggest Terraform, Bicep, or ARM template deployments — this is a read-only analysis tool
- Very specific: line 143
Do not suggest modifications to data/solution-mapping.json — it is auto-generated
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Microsoft Sentinel Classic (CLv1) Table Impact Assessment — Copilot Instructions
These instructions apply to all Copilot interactions in this repository. They provide context about the project, coding conventions, and domain knowledge so that Copilot can give accurate, relevant assistance.
Project overview
PowerShell tool that discovers classic V1 custom log tables (CLv1) in a Microsoft Sentinel / Log Analytics workspace, assesses dependency impact across all content types, and maps tables to Content Hub solutions with connector classification.
The HTTP Data Collector API retires September 14, 2026. All classic custom log tables must migrate to DCR-based ingestion before this date. This tool automates the discovery and impact assessment to support migration planning.
Repository structure
Invoke-TableMigrationReview.ps1 # Main script — single-file entry point
Templates/report.html.template # Self-contained HTML report template
data/solution-mapping.json # Static table→solution lookup (auto-updated weekly)
data/update-solution-mapping.mjs # Node.js script to refresh mapping from upstream CSVs
.github/copilot-instructions.md # This file — global Copilot context
.github/instructions/powershell.instructions.md # PowerShell-specific coding conventions
.github/agents/sentinel-migration-assistant.md # Copilot custom agent for guided execution
.github/workflows/update-solution-mapping.yml # Weekly GitHub Action to refresh mapping data
LICENSE # MIT License
README.md # Full project documentationArchitecture
Single-script design
The entire tool is a single PowerShell script (Invoke-TableMigrationReview.ps1)
with no external module dependencies beyond Az.Accounts. All helper functions are
defined inline. This is intentional — it keeps deployment simple (copy one file).
Execution flow
- Authenticate — Validates
Az.Accountscontext, refreshes ARM bearer token - Discover —
GETworkspace tables API, filterCustomLog/Classic - Assess impact — Load all content types via ARM, scan for table name references
- Map to Content Hub — Match tables against
data/solution-mapping.json, classify connectors - Export — Write CSV, JSON, and HTML reports to the output directory
Key internal functions
Invoke-ArmRequest— All Azure REST calls go through this wrapper. It handles pagination (nextLink), token refresh, and error formatting. Never callInvoke-RestMethoddirectly.Get-ArmToken— Retrieves a bearer token from the currentAz.Accountscontext.Write-Step,Write-Info,Write-Ok,Write-Warn2,Write-Err— Formatted console output helpers. Never use rawWrite-Hostfor status messages.
Data flow
- Input: Azure subscription ID, resource group, workspace name
- ARM APIs queried: Tables, Alert Rules, Saved Searches, Workbooks, Logic Apps, DCRs, Content Hub Packages
- Static data:
data/solution-mapping.json(826 tables → 495 solutions, refreshed weekly from Azure-Sentinel upstream) - Output: Pipeline
PSCustomObject+ CSV files + JSON report + HTML report inOutputPath
Domain knowledge
Classic custom log tables (CLv1)
- Identified by
TableType = CustomLogandTableSubType = Classic - Always end with
_CLsuffix - Ingested via the HTTP Data Collector API (retiring September 14, 2026)
- Must be migrated to DCR-based custom tables using the Logs Ingestion API
Connector classification
When mapping tables to Content Hub solutions, each connector is classified:
- CCF — Codeless Connector Framework. Connector ID ends in
CCP,CCF, orDefinition. Modern, preferred. - AMA — Azure Monitor Agent based. Connector name ends in
Ama. Modern, preferred. - Platform — Microsoft-native connectors (Azure AD, Office 365, Defender, etc.). Platform-managed.
- AzureFunctions — Name contains
Serverless,AzureFunction, orPolling. Legacy — should migrate to CCF. - Agent — CEF / Syslog based. Agent-based collection.
- Legacy — Anything else. Review manually.
Content types scanned for impact
- Analytics Rules — Scheduled and NRT detection queries (KQL)
- Hunting Queries — Proactive threat hunting saved searches (
Category = Hunting Queries) - Parsers — Workspace functions for normalisation (
Category = Samplesor function-based) - Saved Searches — Log Analytics saved queries
- Workbooks — Full serialised JSON walk of all query steps
- SOAR Playbooks — Logic App workflow definitions (action body text)
- Data Collection Rules — Transform KQL in DCR pipelines
Azure RBAC
The script is read-only and never modifies the workspace. Minimum roles:
- Microsoft Sentinel Reader — covers alert rules, content hub, saved searches
- Monitoring Reader — covers DCRs
- Logic App Reader — covers playbooks
- Workbook Reader — covers workbooks (subscription-level)
Coding conventions
PowerShell (see also .github/instructions/powershell.instructions.md)
- PowerShell 7.0+ required — uses null-coalescing (
??),ForEach-Object -Parallel #Requiresstatements for version and module dependencies, not inline checks$ErrorActionPreference = 'Stop'— fail fast on errors- All ARM calls go through
Invoke-ArmRequest— handles pagination and token refresh - Return structured
[PSCustomObject]to the pipeline - Export CSV with
-NoTypeInformation -Encoding UTF8 - Use the
Write-Step/Info/Ok/Warn2/Errhelpers for console output - Avoid comments unless explaining complex algorithms
- No build step — the script runs directly
HTML template
Templates/report.html.templateis a self-contained HTML file with inline CSS and JS- Placeholders use
{{VARIABLE_NAME}}syntax, replaced by the script at export time - Must work offline — no external CDN or asset references
Solution mapping data
data/solution-mapping.jsonis the static lookup file for mapping tables to Content Hub solutions.- Source: Azure-Sentinel Solutions Analyzer
- `` fetches upstream CSVs and regenerates the JSON
- Do not edit
solution-mapping.jsonmanually — it is auto-generated
Git conventions
- Output directory
./migration-report/is git-ignored node_modules/and.vscode/are git-ignored- Commit messages follow conventional commit format (
feat:,fix:,docs:,chore:)
What Copilot should NOT do
- Do not suggest breaking the script into multiple module files — the single-file design is intentional
- Do not add
Write-Hostcalls — use the existing output helpers - Do not call
Invoke-RestMethoddirectly — useInvoke-ArmRequest - Do not suggest Terraform, Bicep, or ARM template deployments — this is a read-only analysis tool
- Do not suggest modifications to
data/solution-mapping.json— it is auto-generated
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

