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 exclusively provides examples for Windows virtual machines, referencing only azurerm_windows_virtual_machine resources. There are no examples or guidance for Linux virtual machines or their configuration assignments. Additionally, the 'get-started' link points specifically to a Windows PowerShell guide, further reinforcing a Windows-centric approach.
Recommendations:
  • Add parallel examples for Linux virtual machines using azurerm_linux_virtual_machine resources.
  • Include built-in configuration assignment examples relevant to Linux (e.g., CIS Linux Baseline).
  • Update or supplement the 'get-started' link to include Linux and cross-platform guides, not just Windows PowerShell.
  • Explicitly mention support for both Windows and Linux, and provide guidance on any differences in configuration assignment between the two 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

resource "azurerm_virtual_machine_configuration_policy_assignment" "<configuration_name>" { name = "<configuration_name>" location = azurerm_windows_virtual_machine.example.location virtual_machine_id = azurerm_windows_virtual_machine.example.id configuration { name = "<configuration_name>" contentUri = '<Url_to_Package.zip>' contentHash = '<SHA256_hash_of_package.zip>' version = "1.*" assignmentType = "ApplyAndMonitor } }
resource "azurerm_virtual_machine_configuration_policy_assignment" "AzureWindowsBaseline" { name = "AzureWindowsBaseline" location = azurerm_windows_virtual_machine.example.location virtual_machine_id = azurerm_windows_virtual_machine.example.id configuration { name = "AzureWindowsBaseline" version = "1.*" parameter { name = "Minimum Password Length;ExpectedValue" value = "16" } parameter { name = "Minimum Password Length;RemediateValue" value = "16" } parameter { name = "Minimum Password Age;ExpectedValue" value = "75" } parameter { name = "Minimum Password Age;RemediateValue" value = "75" } } }