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:
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a Windows bias by providing only a Windows-specific built-in configuration example ('AzureWindowsBaseline') and omitting any Linux equivalent. The parameter names and values are tailored to Windows security policies (e.g., password length and age), and there are no examples or references for Linux configurations. Additionally, the referenced tutorial link defaults to Azure PowerShell, a tool more commonly used on Windows.
Recommendations:
  • Include an example of assigning a built-in Linux configuration (such as 'AzureLinuxBaseline') with relevant Linux parameters.
  • Provide guidance or links for both Windows and Linux built-in configurations, clarifying which are available for each OS.
  • Ensure that referenced tutorials and links offer parity for both Azure PowerShell and Azure CLI, with explicit Linux instructions where applicable.
  • Add a section or note explaining how to adapt the template for Linux VMs, including any differences in configuration names or parameters.
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

{ "apiVersion": "2020-06-25", "type": "Microsoft.Compute/virtualMachines/providers/guestConfigurationAssignments", "name": "<vm_name>/Microsoft.GuestConfiguration/<configuration_name>", "location": "<vm_location>", "dependsOn": [ "Microsoft.Compute/virtualMachines/<vm_name>" ], "properties": { "guestConfiguration": { "name": "AzureWindowsBaseline", "version": "1.*", "assignmentType": "ApplyAndMonitor", "configurationParameter": [ { "name": "Minimum Password Length;ExpectedValue", "value": "16" }, { "name": "Minimum Password Length;RemediateValue", "value": "16" }, { "name": "Maximum Password Age;ExpectedValue", "value": "75" }, { "name": "Maximum Password Age;RemediateValue", "value": "75" } ] } } }