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 accessing audit logs programmatically, with no equivalent example for Linux or cross-platform shells (e.g., Bash/cURL). The script uses PowerShell-specific cmdlets and patterns, and there is no mention of Linux-native tools or guidance for non-Windows users. The only automation example is Windows-centric, and the documentation does not acknowledge or address Linux or macOS environments.
Recommendations
  • Provide a Bash/cURL example for accessing the Microsoft Graph API to retrieve audit logs, including authentication and pagination handling.
  • Explicitly mention that the API can be accessed from any platform and provide cross-platform code samples.
  • Include instructions or links for using common Linux tools (e.g., wget, curl, jq) to perform the same tasks as the PowerShell script.
  • Reorganize the automation section to present both Windows (PowerShell) and Linux/macOS (Bash/cURL) examples side by side, or lead with a platform-neutral API example.
  • Add a note clarifying that the PowerShell script can be run in Azure Cloud Shell (which supports PowerShell and Bash), but also provide a Bash example for parity.
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-12 00:00 #243 cancelled 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 Clean Clean
2026-01-08 00:00 #228 cancelled Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-16 00:00 #113 completed Biased Biased
2025-09-15 00:00 #112 completed Biased Biased
2025-09-14 00:00 #111 completed Biased Biased
2025-09-13 00:00 #110 completed Biased Biased
2025-09-12 00:00 #109 completed Biased Biased
2025-09-11 00:00 #108 completed Biased Biased
2025-09-09 00:00 #106 completed Biased Biased
2025-08-14 00:01 #80 cancelled Biased Biased
2025-07-13 21:25 #47 cancelled Clean Clean
2025-07-13 21:17 #46 cancelled Clean Clean
2025-07-13 20:48 #44 cancelled Biased Biased
2025-07-13 20:32 #43 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets