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 page demonstrates a Windows bias by providing example commands and tooling primarily for Azure PowerShell, which is most commonly used on Windows. The only CLI-based example for creating a logger with connection string credentials is given in PowerShell, with no equivalent shown for Bash, Azure CLI, or other Linux-native tools. References to tools (e.g., PowerShell cmdlets) are made before mentioning cross-platform alternatives, and there is no explicit guidance or examples for Linux users or those using Bash/Azure CLI.
Recommendations
  • Add equivalent Azure CLI examples for all PowerShell commands, especially for creating loggers with connection string credentials.
  • Include Bash shell snippets where appropriate, demonstrating how to use REST API calls via curl or az rest.
  • Explicitly mention that Bicep and ARM templates are cross-platform and can be used on Linux, macOS, and Windows.
  • Where PowerShell is referenced, clarify that it is available cross-platform, but also provide alternatives for users who prefer Bash or Azure CLI.
  • Review all tool references and ensure Linux-native tools (Azure CLI, Bash, curl) are mentioned and demonstrated alongside Windows tools.
  • Consider adding a 'Platform considerations' section to guide users on how to perform steps on both Windows and Linux.
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-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-08 00:00 #84 in_progress Clean Clean
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

# Details specific to API Management 
$apimServiceName = "apim-hello-world"
$resourceGroupName = "myResourceGroup"

# Create logger
$context = New-AzApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $apimServiceName
New-AzApiManagementLogger -Context $context -LoggerId "ContosoLogger1" -Name "ApimEventHub" -ConnectionString "Endpoint=sb://<EventHubsNamespace>.servicebus.windows.net/;SharedAccessKeyName=<KeyName>;SharedAccessKey=<key>" -Description "Event hub logger with connection string"