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
missing_linux_example
windows_first
Summary
The documentation page demonstrates a Windows bias by providing only PowerShell examples for enabling diagnostic logging, referencing Windows-centric tools (Excel, Power BI, Visual Studio, C#), and omitting equivalent Linux/CLI/Bash instructions. No Azure CLI, Bash, or Linux-native tooling is mentioned, and the workflow assumes familiarity with Windows environments and tools.
Recommendations
  • Add equivalent Azure CLI (az) examples for enabling and configuring diagnostic logging, as Azure CLI is cross-platform and widely used on Linux and macOS.
  • Include Bash shell command examples for log retrieval and processing (e.g., using jq, grep, awk, sed) to demonstrate Linux-native workflows.
  • Mention Linux-compatible data visualization tools (e.g., LibreOffice Calc, csvkit, or open-source alternatives) alongside Excel and Power BI.
  • Reference code samples in Python or other cross-platform languages, not just C# and Visual Studio.
  • Reorder examples or provide parallel instructions so that Linux and cross-platform methods are presented equally or before Windows-specific ones.
  • Explicitly state that all features are available via both PowerShell and Azure CLI, and provide links to both sets of documentation.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean
2025-07-09 23:22 #6 cancelled Clean Clean

Flagged Code Snippets

    Set-AzDiagnosticSetting  -ResourceId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/<applicationGatewayName> -StorageAccountId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName> -Enabled $true
    
    Set-AzDiagnosticSetting  -ResourceId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/<applicationGatewayName> -StorageAccountId /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Storage/storageAccounts/<storageAccountName> -Enabled $true