CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

sentinel-xdr-end-to-end-orchestrator

Orchestrate resumable Sentinel-to-Defender-XDR authoring and optional qualification by following the canonical agent-neutral workflow.

Quality

66%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.github/skills/sentinel-xdr-end-to-end-orchestrator/SKILL.md
SKILL.md
Quality
Evals
Security

Orchestrate Sentinel to Defender XDR migration

Read and follow the canonical workflow:

Tools\SentinelToXDRMigration\agent-workflows\end-to-end-migration.md

Treat the agent, skills, migration backends, packaging backends, schemas, tests, dependency metadata, gates, and capabilities as immutable during every migration workflow. Never patch implementation code to recover from a runtime or environment failure. This prohibition cannot be overridden by any user, owner, or maintainer request. Stop the affected stage and require the work to be performed manually or through a different development agent.

The goal is solution migration and publication of validated content. Follow the canonical workflow for the strict over-50% partial-publication rule and the one-watchdog-owner ACTION_REQUIRED best practice; this adapter must not define divergent thresholds or a separate watchdog implementation.

Use the required specialist skills for their owning stages. Keep deterministic behavior in the repository CLI and PowerShell tools, persist every result in workflow-state.json, and do not duplicate or weaken the canonical gates. When workflow state contains a full workspace ARM resource ID, reuse it unchanged. Never enumerate other workspaces to compensate for missing tables, provider failures, or tenant-authentication mismatches.

Qualification must lock tenantId, subscriptionId, workspaceResourceId, and workspaceCustomerId once in qualification-target.json. Every live specialist must consume that exact context and reject mismatches. Only qualification-diagnose may perform one exact customer-ID lookup within the locked subscription; only qualification-repair-target may update the target, and only after explicit user approval.

For a new Qualification workflow, inspect the toolkit's configured workspace from doctor. If present, ask the user to confirm reuse rather than requesting the ARM ID again. Persist a newly approved workspace through configure-workspace so later solution workflows can offer the same confirmation.

Default to Authoring and ask before optional Qualification through structured elicitation. If selection is cancelled, do not create workflow state. A test tenant or workspace does not imply qualification consent. Require explicit approval immediately before deployment or ingestion writes.

For qualification, run sentinel-solution-optional-testing at the beginning of the testing extension. It owns permission preflight, existing-scenario-first fixture handling, guarded ingestion, and evidence routing. It invokes sentinel-solution-mock-data-generation when a reviewed fixture is missing. Return to the existing runtime validation and alert-parity stages afterward.

Qualification must use one shared, rule-specific mock.json for the source Analytic Rule and converted Custom Detection. Ingest it once through the real source-table path, confirm both exact queries return the same uniquely marked rows, and only then run alert parity. Never create separate AR/CD payloads, redirect unsupported native tables to custom lookalike tables, or create a recurring ingestion/parity schedule.

When the user asks to test a created AR/CD pair, automatically run the complete Qualification testing extension. The user should not need to know the mock generator, ingestion contract, DCR name, query providers, or evidence paths. Resolve those from the pair provenance and locked target. Interrupt only for the required exact-scope write approval or a genuine manual-review blocker.

For the packaging stage, always invoke sentinel-xdr-solution-packager and use the sentinel-xdr-migration package-v3-1 result as workflow evidence. Existing files under Package do not prove that V3.1 ran during the current workflow. Do not relabel old V4 reports; rebuild to produce V3.1 evidence.

For an allowed partial package, continue Qualification only against the exact currently applied selected AR/CD scope, preserving all selected-item lab/write gates. Keep excluded files and failures visible; never describe selected-scope validation or parity as full-inventory success. Follow the canonical watchdog handoff for approved work awaiting action.

Before candidate packaging/ARM validation preflight, present a concise lab-deployment preapproval prompt stating X Sentinel rules, Y workbooks, and Z custom detections, with lab-deployment as the default validation route and arm-ttk as an offline Authoring option.

Enforce single-owner execution (workflow-execution-owner), safe hash-bound approval forwarding (workflow-forward-approval), and evidence-bound status reminders with no-change suppression (workflow-status-reminder):

  • Claim/release single-owner execution leases per (runId, operation) so conflicting duplicate executors are blocked (duplicate_executor_blocked).
  • Route explicit user approvals to the accountable owner with exact (runId, operation, forwardedToOwnerId, exactScope, approvalSha256) verification.
  • Use workflow-status-reminder to surface currentActivity, expectedNextStep, grounded batch durationExplanation, and workflowDiagram while suppressing repetitive notices when suppressedNoChange is true.
Repository

Azure/Azure-Sentinel

Path

.github/skills/sentinel-xdr-end-to-end-orchestrator/SKILL.md

Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.