> 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/ibm-cloud-database-mysql-is-exposed-to-public.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Database MySQL is exposed to public

### Synopsis

| Field               | Value                                         |
| ------------------- | --------------------------------------------- |
| Rule Type           | Detection                                     |
| Finding Type        | IBM Cloud Database MySQL is exposed to public |
| Finding ID          | 60000775                                      |
| Generates a Finding | This detection rule also generates a finding  |
| Severity            | High                                          |
| Category            | CONFIGURATION                                 |
| Cloud Providers     | IBM\_CLOUD                                    |
| Platform Module     | CSPM                                          |
| Asset Types         | IBM\_MYSQL\_DEPLOYMENT                        |
| ATT\&CK Tactic      | TA0001 (TA0001)                               |
| ATT\&CK Technique   | T1190 (T1190)                                 |

### Description

IBM Cloud Databases for MySQL can be reached through private endpoints that stay on the IBM Cloud private network, through public endpoints that are routable from the internet, or through both at once. The enable\_public\_endpoints setting controls whether the deployment publishes an internet-facing connection string that any client on the internet can attempt to reach.

This policy identifies MySQL deployments that have public endpoints enabled. The check reads the deployment's endpoint configuration and reports every instance where internet-facing access has been turned on, regardless of whether a private endpoint is also available.

A database that answers on the internet is continuously exposed to credential stuffing, brute force attempts and exploitation of any flaw in the database engine, with the stored data as the immediate prize rather than a stepping stone. Internet-wide scanning discovers managed database endpoints within minutes of their being published, so exposure is not theoretical, and an attacker who authenticates reaches the data directly without first needing a foothold inside the account. Public reachability also undermines network segmentation, because the database is no longer protected by the boundary that shields the rest of the workload.

As a remediation, disable the public endpoint on the deployment and enable the private endpoint instead, then update application connection strings to the private hostname. Where access from outside the VPC is genuinely required, reach the private endpoint through a VPN or a bastion host rather than re-enabling public access.

### Remediation

**Manual steps:**

IBM MySQL Deployment - Manual remediation steps:

Refer to the IBM documentation to change the service endpoints from public to private

<https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-service-endpoints>


---

# 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/ibm-cloud-database-mysql-is-exposed-to-public.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.
