> 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-postgresql-database-network-access-is-not-restricted-to-a-specific-ip-range.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud PostgreSQL Database network access is not restricted to a specific IP range

### Synopsis

| Field               | Value                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                             |
| Finding Type        | IBM Cloud PostgreSQL Database network access is not restricted to a specific IP range |
| Finding ID          | 60000778                                                                              |
| Generates a Finding | This detection rule also generates a finding                                          |
| Severity            | Medium                                                                                |
| Category            | CONFIGURATION                                                                         |
| Cloud Providers     | IBM\_CLOUD                                                                            |
| Platform Module     | CSPM                                                                                  |
| Asset Types         | IBM\_POSTGRESQL\_DEPLOYMENT                                                           |
| ATT\&CK Tactic      | TA0001 (TA0001)                                                                       |
| ATT\&CK Technique   | T1190 (T1190)                                                                         |

### Description

IBM Cloud Databases for PostgreSQL supports an IP allowlist restricting which source addresses may open a connection to the deployment. The allowlist is held in allowedListIPAddresses and each entry names a single address or CIDR range. An empty allowlist applies no source restriction at all, and an entry of 0.0.0.0/0 explicitly permits every address.

This policy identifies PostgreSQL deployments whose network access is not restricted to a specific IP range. A deployment qualifies when its allowlist is empty, or when the allowlist contains an entry of 0.0.0.0/0, since both permit connections from any source.

An unrestricted allowlist removes the network control that would otherwise limit who can even attempt authentication against the database. Credential stuffing, brute force and exploitation of engine flaws all become available to any host able to route to the endpoint, rather than to the small set of application servers that legitimately need access. The allowlist is the layer that contains the damage when a credential leaks, so without it a stolen password is immediately usable from anywhere rather than only from an approved network.

As a remediation, add allowlist entries for the specific addresses or CIDR ranges used by the application servers and administrative hosts that require database access, and remove any 0.0.0.0/0 entry. Review the allowlist whenever application infrastructure changes so it does not accumulate stale ranges.

### Remediation

**Manual steps:**

IBM PostgreSQL Deployment - Manual remediation steps:

1. Log in to the IBM Cloud Console
2. Click on 'Menu Icon' and navigate to 'Resource list', from the list of resources select PostgreSQL database reported in the alert.
3. Refer below URL for setting allowlist IP addresses :

   <https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-allowlisting\\&interface=ui#set-allowlist-ui>
4. Please remove IP address starting with '0.0.0.0' if any added already in the allow list and make sure to add IP address other than '0.0.0.0'.


---

# 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-postgresql-database-network-access-is-not-restricted-to-a-specific-ip-range.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.
