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

# Azure SQL Server auditing is disabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | Azure SQL Server auditing is disabled        |
| Finding ID          | 60000237                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AZURE                                        |
| Platform Module     | CSPM                                         |
| Asset Types         | AZURE\_SQL\_SERVER                           |
| ATT\&CK Tactic      | TA0112 (TA0112)                              |
| ATT\&CK Technique   | T1685.002 (T1685.002)                        |

### Description

Azure SQL Servers lacking server-level auditing pose a significant security risk, hindering the detection of malicious activities and data breaches. Server-level auditing provides comprehensive logging of database events across all databases on a given server, irrespective of individual database auditing settings.

Azure SQL Server auditing logs critical database actions. Disabling this feature prevents recording crucial events such as database modifications, schema changes, and login attempts. This lack of logging makes it difficult to detect and respond to intrusions, data exfiltration, or unauthorized access, increasing the organization's attack surface and potential for data loss.

Without server-level auditing, identifying the root cause of security incidents is challenging, impacting incident response and remediation efforts. Comprehensive auditing allows security teams to effectively analyze suspicious activities, pinpoint threats, and conduct thorough post-incident investigations, significantly reducing the time to resolution and minimizing potential damage. This best practice ensures complete visibility into database activities.

To mitigate this misconfiguration, enable server-level auditing on all Azure SQL Servers. Configure the audit to log successful and failed login attempts, along with database modifications. Regularly review audit logs to detect anomalous behavior and respond promptly to potential threats. Consider integrating audit logs with a Security Information and Event Management (SIEM) system for centralized monitoring and analysis.

### Remediation

**Manual steps:**

Azure SQL Server - Manual remediation steps:

1. Log in to the Azure Portal.
2. Select 'SQL servers', and select the SQL server instance you want to modify.
3. Select 'Auditing', and set the status to 'On'.
4. 'Save' your changes.


---

# 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-sql-server-auditing-is-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.
