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_tools
windows_first
Summary
The documentation provides both Azure CLI and PowerShell examples for managing environment variables in Azure Container Apps. However, the PowerShell section is significantly more detailed, with step-by-step instructions and explanations of object models, while the Azure CLI section is more concise. There is no mention of Linux-specific shells or scripting (e.g., Bash), and PowerShell (a Windows-centric tool) is given equal or greater prominence. No Linux-native tools or patterns (such as Bash scripting or environment variable manipulation in Dockerfiles) are referenced. The tab order also presents PowerShell immediately after Azure CLI, reinforcing parity with Windows tools.
Recommendations
  • Add explicit Bash shell examples for Azure CLI commands, showing how to set and export environment variables in a Linux context.
  • Include notes or examples for common Linux workflows, such as using environment variables in Dockerfiles or with 'env' files.
  • Clarify that Azure CLI is cross-platform and can be used on Linux, macOS, and Windows, possibly with a note or section for Linux users.
  • Consider adding a 'Bash' or 'Linux shell' tab alongside the existing 'Azure CLI' and 'PowerShell' tabs to demonstrate parity.
  • Reduce the level of detail in PowerShell-specific object manipulation unless similar depth is provided for Linux-native workflows.
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 Biased Biased
2026-01-10 00:00 #92 completed Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

$envVar = New-AzContainerAppEnvironmentVarObject -Name "envVarName" -Value "envVarvalue"
$envVar = New-AzContainerAppEnvironmentVarObject -Name "envVarName" -SecretRef "secretName"
Update-AzContainerApp -TemplateContainer $containerTemplate
$containerTemplate = New-AzContainerAppTemplateObject -Name "container-app-name" -Image "repo/imagename:tag" -Env $envVar
Update-AzContainerApp -TemplateContainer $containerTemplate