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

Bias Types:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ windows_tools
Summary:
The documentation page demonstrates a Windows bias by providing detailed PowerShell examples and command breakdowns, while the Azure CLI (cross-platform) section is less detailed and only provides a single command. PowerShell is presented before Azure CLI, and the documentation references Windows-centric tools and patterns (PowerShell cmdlets) without offering equivalent Linux shell or scripting examples. There are no explicit Linux/Unix shell examples or references to Linux-specific workflows.
Recommendations:
  • Provide Bash or shell script examples alongside PowerShell, especially for tasks like preparing the JSON policy file and invoking the Azure CLI.
  • Reorder the command-line sections so that Azure CLI (cross-platform) appears before PowerShell, or present both in parallel tabs.
  • Expand the Azure CLI section to include more detailed, step-by-step instructions, similar to the PowerShell section (e.g., how to construct the JSON policy, how to edit it, and how to validate the policy).
  • Explicitly mention that Azure CLI commands can be run on Linux, macOS, and Windows, and provide any OS-specific notes if needed.
  • Where possible, avoid Windows-specific terminology or tools unless there is no cross-platform equivalent, and always provide parity in examples.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-16 00:00 #113 completed ✅ Clean
2025-09-15 00:00 #112 completed ✅ Clean
2025-09-14 00:00 #111 completed ✅ Clean
2025-09-13 00:00 #110 completed ✅ Clean
2025-09-12 00:00 #109 completed ✅ Clean
2025-09-11 00:00 #108 completed ✅ Clean
2025-09-10 00:00 #107 completed ✅ Clean
2025-09-09 00:00 #106 completed ✅ Clean
2025-09-08 00:00 #105 completed ✅ Clean
2025-09-07 00:00 #104 completed ✅ Clean
2025-09-06 00:00 #103 completed ✅ Clean
2025-09-05 00:00 #102 completed ✅ Clean
2025-09-04 00:00 #101 completed ✅ Clean
2025-09-03 00:00 #100 completed ✅ Clean
2025-08-29 00:01 #95 completed ✅ Clean
2025-08-22 00:01 #88 completed ✅ Clean
2025-08-20 00:01 #86 completed ✅ Clean
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

# Initialize the following variables with your values. $rgName = "<resource-group>" $accountName = "<storage-account>" # Create a new action object. $action = Add-AzStorageAccountManagementPolicyAction -BaseBlobAction Delete ` -daysAfterModificationGreaterThan 180 Add-AzStorageAccountManagementPolicyAction -InputObject $action ` -BaseBlobAction TierToArchive ` -daysAfterModificationGreaterThan 90 Add-AzStorageAccountManagementPolicyAction -InputObject $action ` -BaseBlobAction TierToCool ` -daysAfterModificationGreaterThan 30 Add-AzStorageAccountManagementPolicyAction -InputObject $action ` -SnapshotAction Delete ` -daysAfterCreationGreaterThan 90 Add-AzStorageAccountManagementPolicyAction -InputObject $action ` -BlobVersionAction TierToArchive ` -daysAfterCreationGreaterThan 90 # Create a new filter object. $filter = New-AzStorageAccountManagementPolicyFilter -PrefixMatch ab,cd ` -BlobType blockBlob # Create a new rule object. $rule1 = New-AzStorageAccountManagementPolicyRule -Name sample-rule ` -Action $action ` -Filter $filter # Create the policy. Set-AzStorageAccountManagementPolicy -ResourceGroupName $rgName ` -StorageAccountName $accountName ` -Rule $rule1