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 only Windows-based VM image examples ('WindowsServer', '2019-Datacenter'), with no mention or example of Linux images. This can give the impression that the rule or tool is primarily intended for Windows environments, and does not demonstrate parity for Linux users.
Recommendations:
  • Include equivalent Linux-based examples (e.g., using 'UbuntuServer' or 'CentOS' offers and skus) alongside or alternating with Windows examples.
  • Explicitly mention that the rule applies to both Windows and Linux VM images.
  • Where possible, provide a table or list of both Windows and Linux image references to illustrate the rule's applicability across platforms.
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

param location string = resourceGroup().location resource vm 'Microsoft.Compute/virtualMachines@2024-03-01' = { name: 'virtualMachineName' location: location properties: { storageProfile: { imageReference: { offer: 'WindowsServer-preview' sku: '2019-Datacenter-preview' version: 'preview' } } } }
param location string = resourceGroup().location resource vm 'Microsoft.Compute/virtualMachines@2024-03-01' = { name: 'virtualMachineName' location: location properties: { storageProfile: { imageReference: { offer: 'WindowsServer' sku: '2019-Datacenter' version: 'latest' } } } }