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

# Azure SQL Database server not configured with private endpoint

### Synopsis

| Field               | Value                                                          |
| ------------------- | -------------------------------------------------------------- |
| Rule Type           | Detection                                                      |
| Finding Type        | Azure SQL Database server not configured with private endpoint |
| Finding ID          | 60000827                                                       |
| Generates a Finding | This detection rule also generates a finding                   |
| Severity            | Medium                                                         |
| Category            | CONFIGURATION                                                  |
| Cloud Providers     | AZURE                                                          |
| Platform Module     | CSPM                                                           |
| Asset Types         | AZURE\_SQL\_SERVER                                             |

### Description

Azure SQL Database servers lacking private endpoints expose them to unauthorized access from untrusted IPs, potentially leading to data breaches or service disruptions. This misconfiguration allows connections from any network, bypassing network security controls.

Azure SQL Database servers communicate over the public internet if a private endpoint isn't configured. This exposes them to attacks originating from untrusted IP addresses, including malicious actors scanning for vulnerable databases. Bypassing private endpoint setup undermines the security afforded by virtual networks and network segmentation.

The impact of this misconfiguration is the potential for unauthorized access to sensitive data stored in the database, leading to data exfiltration, modification, or deletion. Employing private endpoints ensures that only authorized virtual networks can access the database, significantly reducing the attack surface and improving security posture.

To mitigate this, enforce the use of private endpoints for all Azure SQL Database servers. Restrict network access to only trusted IP addresses or virtual networks via Network Security Groups or Azure Firewall. Regularly review and update network security rules to maintain a secure configuration.

### Remediation

1. Login to Azure Portal
2. Navigate to 'SQL Servers' and select the reported server
3. In the left menu under 'Security', select 'Networking'.
4. Select the 'Private access' tab and click '+ Create a private endpoint'.
5. On the 'Basics' tab, fill in the Subscription, Resource group, a Name for the endpoint, and the Region, then click Next.
6. On the 'Resource' tab, confirm the Target sub-resource is sqlServer and click Next.
7. On the 'Virtual Network' tab, select your target 'Virtual network' and 'Subnet', then click Next.
8. On the 'DNS' tab, ensure 'Integrate with private DNS zone' is set to 'Yes' and click Next.
9. Click 'Create'.

Refer to below link for step by step process:

<https://learn.microsoft.com/en-us/azure/private-link/tutorial-private-endpoint-sql-portal>


---

# 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-server-not-configured-with-private-endpoint.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.
