> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-virtual-machine-scale-sets-boot-diagnostics-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Virtual Machine scale sets Boot Diagnostics Disabled

### Synopsis

| Field               | Value                                                      |
| ------------------- | ---------------------------------------------------------- |
| Rule Type           | Detection                                                  |
| Finding Type        | Azure Virtual Machine scale sets Boot Diagnostics Disabled |
| Finding ID          | 60000480                                                   |
| Generates a Finding | This detection rule also generates a finding               |
| Severity            | Low                                                        |
| Category            | CONFIGURATION                                              |
| Cloud Providers     | AZURE                                                      |
| Platform Module     | CSPM                                                       |
| Asset Types         | AZURE\_VIRTUAL\_MACHINE\_SCALE\_SET                        |

### Description

Azure Virtual Machine scale sets lacking Boot Diagnostics enablement pose a significant security risk by hindering troubleshooting capabilities during boot failures. Disabling this feature prevents the capture of screenshots and console output crucial for diagnosing issues, impacting incident response and recovery efforts.

Boot Diagnostics, a setting within Azure Virtual Machine scale sets, allows capturing diagnostic information such as screenshots and console logs during the VM's startup process. Disabling this setting prevents access to this vital information, making it difficult to investigate boot failures, potential misconfigurations, or attacks targeting the Virtual Machine's startup sequence. This lack of visibility could lead to prolonged downtime and increased difficulty in identifying the root cause of issues, potentially enabling attackers to maintain persistence undetected.

The impact of this misconfiguration is prolonged downtime and increased difficulty in resolving boot-related issues for Virtual Machines within the scale set. Effective troubleshooting is hampered, increasing Mean Time To Resolution (MTTR) and potentially exposing the organization to prolonged service disruptions or security breaches. Enabling Boot Diagnostics provides essential diagnostic data, enabling faster remediation and minimizing the impact of incidents.

To mitigate this risk, enable Boot Diagnostics on all Azure Virtual Machine scale sets. This involves navigating to the scale set's configuration in the Azure portal and activating the Boot Diagnostics setting. Regularly review the diagnostic logs to ensure the functionality remains active and available for troubleshooting. Implement monitoring to alert on any instances where Boot Diagnostics becomes disabled.

### Remediation

1. Log in to the Azure Portal.
2. Navigate to your Virtual Machine Scale Set service dashboard.
3. Select the reported virtual machine scale sets.
4. In the left menu, scroll down to the 'Help' section and select 'Boot diagnostics'.
5. Select either of 'Enable with managed storage account' (Recommended) or 'Enable with custom storage account' and provide the storage account details.
6. Click on 'Apply' button.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-virtual-machine-scale-sets-boot-diagnostics-disabled.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
