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
⚠️ 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 ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ 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