Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
powershell_heavy
windows_first
missing_linux_example
windows_tools
Summary
The documentation page demonstrates a Windows bias by requiring PowerShell for both the script-based migration and for decoding base64 values, providing only PowerShell script examples, and listing PowerShell as a prerequisite. There are no Linux shell (bash/sh) equivalents, and Windows tools and patterns (PowerShell scripting, Windows-style command syntax) are mentioned exclusively and before any Linux alternatives. The manual migration also references PowerShell for base64 decoding, omitting Linux shell commands.
Recommendations
  • Provide bash/sh script equivalents for all PowerShell commands, especially for base64 decoding and running migration scripts.
  • Offer a Linux-compatible migration script (e.g., update_sidecars.sh) and document its usage alongside the PowerShell script.
  • List prerequisites for both Windows and Linux environments, including bash or compatible shells.
  • Ensure all examples (script and manual) include both PowerShell and bash/sh commands, presented side-by-side or in separate sections.
  • Clarify that Azure CLI is cross-platform and show usage in both Windows and Linux contexts.
  • Avoid assuming PowerShell is available by default; mention installation steps for both PowerShell and bash if needed.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Clean Clean
2026-01-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Biased Biased
2026-01-09 00:00 #87 cancelled Biased Biased
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-22 00:00 #24 cancelled Clean Clean
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

    ./update-webapp.ps1 `
      -subscriptionId "<subscriptionId>" `
      -webAppName "<webAppName>" `
      -resourceGroup "<resourceGroup>" `
      -registryUrl "<registryUrl>" `
      -base64DockerCompose "<base64DockerCompose>" `
      -mainServiceName "<mainServiceName>" `
      -targetPort "<targetPort>"
    
    [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("<base64value>"))