> 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-user-with-iam-policies-provide-administrative-privileges-for-databases-for-postgresql.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud user with IAM policies provide administrative privileges for Databases for PostgreSQL...

### Synopsis

| Field               | Value                                                                                                   |
| ------------------- | ------------------------------------------------------------------------------------------------------- |
| Rule Name           | IBM Cloud user with IAM policies provide administrative privileges for Databases for PostgreSQL service |
| Rule Type           | Detection                                                                                               |
| Finding Type        | IBM Cloud user with IAM policies provide administrative privileges for Databases for PostgreSQL service |
| Finding ID          | 60000793                                                                                                |
| Generates a Finding | This detection rule also generates a finding                                                            |
| Severity            | Medium                                                                                                  |
| Category            | CONFIGURATION                                                                                           |
| Cloud Providers     | IBM\_CLOUD                                                                                              |
| Platform Module     | CSPM                                                                                                    |
| Asset Types         | IBM\_IAM\_POLICY, IBM\_IAM\_USER                                                                        |
| ATT\&CK Tactic      | TA0004 (TA0004)                                                                                         |
| ATT\&CK Technique   | T1078.004 (T1078.004)                                                                                   |

### Description

Users holding the 'Administrator' role for the Databases for PostgreSQL service can alter, back up, restore, and delete database deployments together with the data they contain.

An access policy that grants a user 'Administrator' on Databases for PostgreSQL without narrowing the scope to a resource group or service instance gives that person control of the deployment rather than merely the ability to query it. User accounts are reached through credentials that can be phished, reused across sites, or left active after someone changes role, so an attacker who takes over the account can change connection allowlists, mint new database credentials, or destroy the instance outright.

Managed database deployments usually hold the most sensitive records an application owns. Administrative access permits bulk extraction through a restored backup, silent modification of rows that downstream reporting depends on, and deletion of both the data and the automated backups that would otherwise allow recovery.

Assign users the least privileged role that supports their work, separating the operational role that manages a deployment from the credentials used to read and write rows, and scope each policy to a single instance or resource group. Grant elevated access through a group whose membership is reviewed on a fixed cadence, enforce multifactor authentication, and remove policies promptly when a user changes role or leaves.

### Remediation

**Manual steps:**

IBM IAM User, IBM IAM Policy - Manual remediation steps:

1. Log in to the IBM Cloud console.
2. In the IBM Cloud console, click 'Manage' on the title bar > 'Access (IAM)', click on 'Users' in the left panel.
3. Select the user which is reported and you want to edit access for.
4. Go to 'Access' tab and under the 'Access policies' section> Click on three dots on the right corner of a row for the policy which is having Administrator permission on 'Databases for PostgreSQL' service.
5. Click on Remove OR Edit to assign limited permission to the policy.
6. Review the policy details that you're about to Edit/Remove, and confirm by clicking Save/Remove.


---

# 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-user-with-iam-policies-provide-administrative-privileges-for-databases-for-postgresql.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.
