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
windows_first
Summary
The documentation provides only a PowerShell script example for running the prerequisite checker, which is specific to Windows environments. There are no equivalent examples or instructions for Linux or cross-platform command-line tools (such as Bash, curl, or Python). The exclusive use of PowerShell and Windows-centric tooling may hinder users on Linux or macOS from following the instructions directly.
Recommendations
  • Provide equivalent Bash or shell script examples using curl or wget for Linux/macOS users.
  • Explicitly mention that the PowerShell script is for Windows and offer alternative instructions for other platforms.
  • Where possible, use cross-platform tools or languages (e.g., Python, curl) in examples.
  • Add a section or note clarifying platform compatibility and linking to platform-specific guidance if available.
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-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-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Clean Clean
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

    $cpiEndpoint = "https://my-cpi-uri.it-cpi012-rt.cfapps.eu01-010.hana.ondemand.com" # CPI endpoint URL
    $credentialsUrl = "https://my-uaa-uri.authentication.eu01.hana.ondemand.com/oauth/token" # SAP authorization server URL
    $serviceKey = 'sb-12324cd-a1b2-5678-a1b2-1234cd5678ef!g9123|it-rt-my-cpi!h45678' # Process Integration Runtime Service client ID
    $serviceSecret = '< client secret >' # Your Process Integration Runtime service secret (make sure to use single quotes)

    $credentials = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$serviceKey`:$serviceSecret"))
    $headers = @{
        "Authorization" = "Basic $credentials"
        "Content-Type"  = "application/json"
    }
    $authResponse = Invoke-WebRequest -Uri $credentialsUrl"?grant_type=client_credentials" `
        -Method Post `
        -Headers $headers
    $token = ($authResponse.Content | ConvertFrom-Json).access_token
    $path = "/http/checkSAP"
    $param = "?startTimeUTC=$((Get-Date).AddMinutes(-1).ToString("yyyy-MM-ddTHH:mm:ss"))&endTimeUTC=$((Get-Date).ToString("yyyy-MM-ddTHH:mm:ss"))"
    $headers = @{
        "Authorization"      = "Bearer $token"
        "Content-Type"       = "application/json"
    }
    $response = Invoke-WebRequest -Uri "$cpiEndpoint$path$param" -Method Get -Headers $headers
    Write-Host $response.RawContent