> 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-load-balancer-diagnostics-logs-are-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Load Balancer diagnostics logs are disabled

### Synopsis

| Field               | Value                                             |
| ------------------- | ------------------------------------------------- |
| Rule Type           | Detection                                         |
| Finding Type        | Azure Load Balancer diagnostics logs are disabled |
| Finding ID          | 60000240                                          |
| Generates a Finding | This detection rule also generates a finding      |
| Severity            | Informational                                     |
| Category            | CONFIGURATION                                     |
| Cloud Providers     | AZURE                                             |
| Platform Module     | CSPM                                              |
| Asset Types         | AZURE\_LOAD\_BALANCER                             |
| ATT\&CK Tactic      | TA0112 (TA0112)                                   |
| ATT\&CK Technique   | T1685.002 (T1685.002)                             |

### Description

Azure Load Balancers lacking enabled diagnostic logs present a significant security risk. Disabling these logs hinders monitoring and incident response capabilities, making it difficult to detect and respond to attacks or misconfigurations affecting load balancers.

Diagnostic logs for Azure Load Balancers provide crucial information about health probes, alert events, and performance metrics. Without these logs, security professionals lack essential data for investigating suspicious activity or performance degradation. This lack of visibility increases the likelihood of successful attacks going undetected, potentially leading to data breaches or service disruptions.

The impact of this misconfiguration includes delayed incident response, difficulty in troubleshooting performance issues, and reduced overall security posture. Enabled diagnostic logs are vital for proactive security monitoring and rapid response to threats. They provide the necessary context for investigating security events and ensuring the continuous availability and security of the load balancer.

To mitigate this risk, ensure that diagnostic logs are enabled for all Azure Load Balancers. Configure diagnostic settings to stream logs to a storage account or Log Analytics workspace for analysis and monitoring. Regularly review these logs to identify and address any potential security issues or performance problems.

### Remediation

**Manual steps:**

Azure Load Balancer - Manual remediation steps:

Diagnostic logs is not supported for Azure Load Balancer which are in Basic SKU

Please create new Load Balancer and selecting Standard SKU

OR

To upgrade Basic SKU Load Balancer to Standard SKU follow the steps provided in the link below,

<https://docs.microsoft.com/en-us/azure/load-balancer/upgrade-basic-standard>

For Azure Load Balancer Standard SKU follow below steps,

1. Log in to the Azure portal.
2. Navigate to 'Load Balancers', and select the reported load balancer from the list
3. Select 'Diagnostic settings' under 'Monitoring' section
4. Click on '+Add diagnostic setting'
5. Specify a 'Diagnostic settings name',
6. Under 'Category details' section, select the type of 'Log' that you want to enable
7. Under section 'Destination details',
   1. If you select 'Send to Log Analytics', select the 'Subscription' and 'Log Analytics workspace'
   2. If you set 'Archive to storage account', select the 'Subscription', 'Storage account' and set the 'Retention (days)'
   3. If you set 'Stream to an event hub', select the 'Subscription', 'Event hub namespace', 'Event hub name' and set the 'Event hub policy name'
8. Click on 'Save'


---

# 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-load-balancer-diagnostics-logs-are-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.
