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_first
missing_linux_example
Summary
The documentation page demonstrates a moderate Windows bias. PowerShell is featured heavily in code examples, often before or alongside Azure CLI, and is the only scripting language shown for advanced scenarios (e.g., multi-source rules, Azure Front Door filtering). There are no Linux shell (bash) or cross-platform scripting examples outside of Azure CLI, and the PowerShell examples are not explicitly marked as cross-platform (i.e., using PowerShell Core). While the Azure CLI is included, the advanced and inline scripting guidance favors PowerShell, which is traditionally associated with Windows environments.
Recommendations
  • Provide bash (Linux shell) script examples for all scenarios where PowerShell is shown, especially for advanced use cases like multi-source rules and HTTP header filtering.
  • Clarify that Azure CLI commands are cross-platform and can be run on Linux, macOS, and Windows.
  • Where PowerShell is used, specify if the commands are compatible with PowerShell Core (cross-platform) or only Windows PowerShell.
  • In advanced scenarios, ensure that Azure CLI and bash examples are given equal prominence to PowerShell.
  • Consider including a note or table summarizing which management tools are available on which platforms.
  • Avoid presenting PowerShell examples before Azure CLI or bash unless there is a technical reason to do so.
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 Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-08 00:00 #228 cancelled Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-14 00:00 #111 completed Clean Clean
2025-09-13 00:00 #110 completed Clean Clean
2025-09-12 00:00 #109 completed Clean Clean
2025-09-11 00:00 #108 completed Clean Clean
2025-09-10 00:00 #107 completed Biased Biased
2025-09-09 00:00 #106 completed Clean Clean
2025-09-08 00:00 #105 completed Biased Biased
2025-09-07 00:00 #104 completed Biased Biased
2025-09-06 00:00 #103 completed Biased Biased
2025-09-05 00:00 #102 completed Biased Biased
2025-09-04 00:00 #101 completed Clean Clean
2025-09-03 00:00 #100 completed Biased Biased
2025-08-15 00:01 #81 cancelled Biased Biased
2025-08-12 00:00 #78 cancelled Biased Biased
2025-08-11 00:00 #77 completed Clean Clean
2025-08-10 00:00 #76 completed Biased Biased
2025-08-09 00:00 #75 completed Clean Clean
2025-08-08 00:00 #74 completed Biased Biased
2025-08-07 00:00 #73 completed Biased Biased
2025-07-13 21:37 #48 completed Biased Biased
2025-07-13 21:25 #47 cancelled Clean Clean
2025-07-13 20:48 #44 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

### [PowerShell](#tab/powershell)

You can run the following command in [Cloud Shell](https://shell.azure.com). For more information about the command, see [`Set-AzResource`](/powershell/module/az.resources/set-azresource). Accepted values for `scmIpSecurityRestrictionsDefaultAction` are `Allow` or `Deny`.

### [PowerShell](#tab/powershell)

You can run the following command in [Azure Cloud Shell](https://shell.azure.com). For more information about the command, see [`Add-AzWebAppAccessRestrictionRule`](/powershell/module/Az.Websites/Add-AzWebAppAccessRestrictionRule).