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
missing_linux_example
windows_tools
Summary
The documentation page exclusively provides PowerShell examples and references Azure PowerShell cmdlets for generating SAS tokens, with no equivalent examples for Linux environments (e.g., using Azure CLI, Bash, or cross-platform tools). There is no mention of Linux-native tooling or command-line patterns, and the only code sample assumes a Windows/PowerShell context.
Recommendations
  • Add equivalent Azure CLI (az) command examples for generating SAS tokens and managing storage access, which are cross-platform and commonly used on Linux.
  • Include Bash shell script examples for common operations, or at least mention how Linux users can perform the same tasks.
  • Explicitly state that the PowerShell example is just one way to accomplish the task and provide links or references to Linux-compatible documentation.
  • Where possible, use neutral language and tooling (e.g., Azure CLI) in primary examples, and provide PowerShell as an alternative for Windows users.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

$startTime = Get-Date
$endTime   = $startTime.AddYears(3)

$tokenParams = @{
    StartTime  = $startTime
    ExpiryTime = $endTime
    Container  = '<storage-account-container-name>'
    Blob       = '<configuration-blob-name>'
    Permission = 'r'
    Context    = '<storage-account-context>'
    FullUri    = $true
}

$contentUri = New-AzStorageBlobSASToken @tokenParams