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
Summary:
The documentation provides examples for creating machine configuration assignments using Bicep, but all concrete examples reference Windows virtual machines and Windows-specific built-in configurations (e.g., 'AzureWindowsBaseline'). There are no examples or references for Linux VMs or Linux-specific configurations, and the only built-in configuration shown is Windows-focused. This demonstrates a 'windows_first' approach and a lack of Linux parity in the examples.
Recommendations:
  • Add equivalent examples for Linux virtual machines, including how to assign configurations to Linux VMs using Bicep.
  • Include at least one built-in configuration example for Linux (e.g., 'AzureLinuxBaseline') to demonstrate parity.
  • When discussing built-in configurations, mention both Windows and Linux options, or provide a table of available configurations for both OS types.
  • Ensure that the documentation makes it clear that both Windows and Linux machines are supported, and provide guidance or links for Linux-specific scenarios.
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

resource myWindowsVM 'Microsoft.Compute/virtualMachines@2021-03-01' existing = { name: '<vm_name>' } resource AzureWindowsBaseline 'Microsoft.GuestConfiguration/guestConfigurationAssignments@2020-06-25' = { name: 'AzureWindowsBaseline' scope: myWindowsVM location: resourceGroup().location 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' } ] } } }