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
missing_linux_example
Summary
The documentation demonstrates a clear Windows bias, particularly in the 'How-to guide' sections. All command-line examples for generating keys and certificates use PowerShell and reference Windows-specific tools (e.g., New-SelfSignedCertificate). There are no equivalent examples for Linux or macOS environments, and Windows tooling is mentioned first and exclusively. This may hinder cross-platform adoption and usability for developers on non-Windows systems.
Recommendations
  • Provide equivalent Linux/macOS command-line examples for generating symmetric keys (e.g., using OpenSSL or /dev/urandom).
  • Include instructions for creating self-signed certificates on Linux/macOS (e.g., using OpenSSL) alongside the PowerShell example.
  • When referencing tools or commands, mention cross-platform or OS-agnostic options first, or present them in parallel.
  • Clarify in the documentation that the examples are platform-specific and provide links or guidance for other platforms.
  • Consider including sample scripts or commands for common developer environments (Bash, zsh, etc.) to improve accessibility.
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 Biased Biased
2026-01-09 00:00 #87 cancelled Biased Biased
2026-01-08 00:00 #84 in_progress Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2026-01-06 18:40 #75 cancelled Biased Biased
2025-12-29 18:00 #48 cancelled Clean Clean
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

New-SelfSignedCertificate `
    -KeyExportPolicy Exportable `
    -Subject "CN=yourappname.yourtenant.onmicrosoft.com" `
    -KeyAlgorithm RSA `
    -KeyLength 2048 `
    -KeyUsage DigitalSignature `
    -NotAfter (Get-Date).AddMonths(12) `
    -CertStoreLocation "Cert:\CurrentUser\My"
$bytes = New-Object Byte[] 32
$rand = [System.Security.Cryptography.RandomNumberGenerator]::Create()
$rand.GetBytes($bytes)
$rand.Dispose()
$newClientSecret = [System.Convert]::ToBase64String($bytes)
$newClientSecret