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 provides only a PowerShell script for programmatically accessing audit logs, with no equivalent example for Linux or cross-platform environments (such as Bash or Python). The script assumes the use of PowerShell, which is natively available on Windows and Azure Cloud Shell, but not on most Linux distributions by default. There is no mention of alternative tools or scripting languages commonly used on Linux, nor guidance for users who may not have access to PowerShell.
Recommendations:
- Provide a Bash/cURL example for accessing the Microsoft Graph API to retrieve audit logs, suitable for Linux and macOS users.
- Include a cross-platform example using a language like Python (with the requests library), which is widely available on both Windows and Linux.
- Explicitly state that PowerShell Core is available for Linux and provide installation instructions or a note for Linux users who wish to use the PowerShell script.
- Where possible, present both Windows and Linux examples side-by-side, or at least mention alternatives to PowerShell for non-Windows environments.
- Review other sections for similar single-platform bias and ensure parity in automation and scripting guidance.
Create pull request