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_tools
⚠️ missing_linux_example
⚠️ windows_first
Summary:
The documentation page demonstrates a Windows bias by providing only PowerShell code examples for interacting with Storage Analytics logs, referencing Windows-specific tools (such as Microsoft Azure Storage Explorer with 'win32' and 'Windows_NT' user agents in log samples), and omitting equivalent Linux/Unix shell or CLI examples. Additionally, PowerShell is mentioned before Azure CLI when describing how to enable logging, and there is no demonstration of using Linux-native tools or cross-platform scripting.
Recommendations:
  • Provide equivalent Azure CLI examples (with Bash syntax) alongside or before PowerShell snippets for all operations, especially for listing and filtering blobs.
  • Include sample log entries generated from Linux or macOS clients (e.g., with user agents showing 'linux' or 'darwin'), or clarify that the logs are platform-agnostic.
  • Reference cross-platform tools (such as AzCopy, Azure CLI, or REST API) equally or before Windows-specific tools.
  • Explicitly state that all operations can be performed from Linux, macOS, or Windows, and provide links or examples for each.
  • Where PowerShell is used, add a corresponding Bash or shell script example to ensure Linux users are not excluded.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
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

Get-AzStorageBlob -Container '$logs' | Where-Object { $_.Name -match 'blob/2014/05/21/05' -and $_.ICloudBlob.Metadata.LogType -match 'write' } | ForEach-Object { "{0} {1} {2} {3}" -f $_.Name, $_.ICloudBlob.Metadata.StartTime, $_.ICloudBlob.Metadata.EndTime, $_.ICloudBlob.Metadata.LogType }