sql-server-to-sql-mi-lrs-migration

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [Command Execution]: The skill executes PowerShell and SQL commands to manage the migration lifecycle. This is necessary for tasks such as creating backup jobs, configuring Azure resources, and starting the Log Replay Service.
  • [Security Mitigation]: The skill uses an idempotent state machine and requires manually typed confirmation phrases (e.g., 'I ACCEPT THE LRS MUTATION DISCLAIMER') before performing mutations. Sensitive logic is contained within digitally signed PowerShell scripts (lrs-monitor-cutover-state-machine.ps1).
  • [External Dependencies]: The workflow requires the installation of Azure PowerShell modules (Az.Sql, Az.Storage, etc.) and the sqlcmd utility via winget.
  • [Security Mitigation]: All external resources originate from trusted vendor repositories (Microsoft/PowerShell Gallery). The skill performs version-gate checks to ensure compatible and secure versions of the tools are used.
  • [Authentication and Identity]: The skill manages Azure RBAC assignments and SQL Server credentials.
  • [Security Mitigation]: It enforces the use of Microsoft Entra ID and Managed Identity, explicitly forbidding the use of hardcoded passwords, SQL authentication, or SAS tokens. Role assignments are scoped to the minimum necessary permissions (e.g., 'Storage Blob Data Reader' at the container scope).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 03:27 AM