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, particularly in the 'How-to guide' sections for generating cryptographic keys and certificates. All code examples for key and certificate generation use PowerShell and reference Windows-specific tools (e.g., New-SelfSignedCertificate). There are no equivalent examples or instructions for performing these tasks on Linux or macOS, and Windows tooling is mentioned exclusively and first. This may hinder Linux/macOS users from following the guide without additional research.
Recommendations
  • Provide equivalent command-line examples for Linux (e.g., using openssl for key and certificate generation).
  • Explicitly mention cross-platform alternatives (e.g., bash scripts, openssl, or other widely available tools) alongside PowerShell/Windows examples.
  • Structure instructions so that Windows and Linux/macOS approaches are presented in parallel, or at least mention non-Windows options before or alongside Windows-specific tools.
  • Link to external resources or official documentation for Linux/macOS users on generating keys and certificates.
  • Clarify in each step if a tool or command is Windows-specific, and suggest alternatives where possible.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Clean Clean
2026-01-08 00:53 #231 completed Clean Clean
2026-01-08 00:00 #228 cancelled Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-13 00:00 #110 completed Biased Biased
2025-08-13 00:00 #79 cancelled Biased Biased
2025-07-13 21:17 #46 cancelled Clean Clean
2025-07-13 21:11 #45 cancelled Clean Clean
2025-07-13 20:48 #44 cancelled Biased Biased
2025-07-13 20:32 #43 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

$bytes = New-Object Byte[] 32
$rand = [System.Security.Cryptography.RandomNumberGenerator]::Create()
$rand.GetBytes($bytes)
$rand.Dispose()
$newClientSecret = [System.Convert]::ToBase64String($bytes)
$newClientSecret
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"