> 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-database-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 database auditing is disabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | Azure SQL database auditing is disabled      |
| Finding ID          | 60000083                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AZURE                                        |
| Platform Module     | CSPM                                         |
| Asset Types         | AZURE\_SQL\_DATABASE                         |

### Description

Azure SQL databases without auditing enabled are susceptible to unauthorized data access and modification. Lack of auditing prevents detection of malicious activities, data breaches, and insider threats.

The Azure SQL Database Auditing feature logs database events to designated storage locations. Disabling auditing eliminates this crucial security control. Without audit logs, attackers can manipulate data undetected, potentially leading to data loss, regulatory non-compliance, and reputational damage.

A misconfigured Azure SQL database without auditing exposes sensitive data to unauthorized access and modification. Comprehensive auditing provides a detailed record of database activity, enabling timely detection and response to security incidents. It also supports compliance efforts by providing an auditable trail.

Enable Azure SQL Database auditing for all databases. Configure audit logs to write to a secure storage location, such as Azure Storage or Log Analytics. Regularly review audit logs to identify and investigate suspicious activity. Restrict access to audit log storage to authorized personnel only.

### Remediation

If server auditing is enabled, it always applies to the database. The database will be audited, regardless of the database auditing settings. It is recommended that you enable only server-level auditing and leave the database-level auditing disabled for all databases.

To enable auditing at server level:

1. Log in to the Azure Portal
2. Note down the reported SQL database and SQL server
3. Select 'SQL servers', Click on the SQL server instance you wanted to modify
4. Select 'Auditing' under 'Security' section, and set the status to 'On' and choose any Audit log destinations.
5. Click on 'Save'

It is recommended to avoid enabling both server auditing and database blob auditing together, unless:

If you want to use a different storage account, retention period or Log Analytics Workspace for a specific database or want to use for audit event types or categories for a specific database that differ from the rest of the databases on the server.

To enable auditing at database level:

1. Log in to the Azure Portal
2. Note down the reported SQL database
3. Select 'SQL databases', Click on the SQL database instance you wanted to modify
4. Select 'Auditing' under 'Security' section, and set the status to 'On' and choose any Audit log destinations.
5. 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-sql-database-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.
