CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsVM Agent reduces management overhead by enabling straightforward bootstrapping of monitoring and configuration of guest OS.
Set properties.osProfile.windowsConfiguration.provisionVMAgent
to true
, or remove the property from the resource.
Set provision_vm_agent
(azurerm_windows_virtual_machine
) or os_profile_windows_config.provision_vm_agent
(azurerm_virtual_machine
) to true.
Example configuration:
# azurerm_windows_virtual_machine example
resource "azurerm_windows_virtual_machine" "allowed1" {
name = "allowmachine1"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
size = "Standard_F2"
admin_username = "adminuser"
admin_password = "P@$$w0rd1234!"
provision_vm_agent = true
network_interface_ids = [
azurerm_network_interface.nic1.id,
]
os_disk {
name = "allow1"
caching = "ReadWrite"
storage_account_type = "Standard_LRS"
}
source_image_reference {
publisher = "MicrosoftWindowsServer"
offer = "WindowsServer"
sku = "2016-Datacenter"
version = "latest"
}
}
# azurerm_virtual_machine example
resource "azurerm_virtual_machine" "allowed" {
name = var.azure_windows_vmagent
location = var.azure_windows_vmagent
resource_group_name = var.azure_windows_vmagent
network_interface_ids = ["test"]
vm_size = "Standard_DS1_v2"
storage_os_disk {
name = "myosdisk1"
caching = "ReadWrite"
create_option = "FromImage"
managed_disk_type = "Standard_LRS"
}
os_profile {
computer_name = "hostname"
admin_username = "testadmin"
admin_password = "Password1234!"
}
os_profile_windows_config {
provision_vm_agent = true
}
}