> 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/gcp-alloydb-instance-with-iam-authentication-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP AlloyDB instance with IAM authentication disabled

### Synopsis

| Field               | Value                                                 |
| ------------------- | ----------------------------------------------------- |
| Rule Type           | Detection                                             |
| Finding Type        | GCP AlloyDB instance with IAM authentication disabled |
| Finding ID          | 60001541                                              |
| Generates a Finding | This detection rule also generates a finding          |
| Severity            | Medium                                                |
| Category            | CONFIGURATION                                         |
| Cloud Providers     | GCP                                                   |
| Platform Module     | CSPM                                                  |
| Asset Types         | ALLOYDB\_CLUSTER\_INSTANCE                            |
| ATT\&CK Tactic      | TA0112 (TA0112)                                       |
| ATT\&CK Technique   | T1685 (T1685)                                         |

### Description

GCP AlloyDB instances lacking IAM authentication are susceptible to unauthorized access. Disabling IAM authentication relies solely on database passwords for access, increasing the risk of breaches via password compromise or leaks.

AlloyDB's IAM authentication integrates with Google Cloud's Identity and Access Management system, enabling granular control over database access. Without IAM, security relies on password management alone, which is vulnerable to brute-force attacks, phishing, or weak password policies. This misconfiguration exposes sensitive data within the database to unauthorized individuals or malicious actors.

The impact of this misconfiguration includes data breaches, unauthorized database modifications, and potential service disruptions. Enabling IAM authentication provides a more secure authentication method by leveraging the robust security features of GCP's IAM system, minimizing the risk of unauthorized access and improving overall security posture.

To mitigate this, ensure IAM authentication is enabled on all AlloyDB instances. Regularly review and update IAM permissions to ensure only authorized users and service accounts have access. Implement strong password policies and multi-factor authentication (MFA) for all database users, even when IAM authentication is enabled, as an additional layer of security.

### Remediation

**Manual steps:**

AlloyDB Cluster Instance - Manual remediation steps:

1. In the Google Cloud console, go to the AlloyDB Clusters page
2. Click on a cluster that has reported an instance
3. In the 'Overview' page, go to the 'Instances in your cluster' section, select an instance, and then click 'Edit'
4. Navigate to 'ADVANCED CONFIGURATION OPTIONS' section
5. Under 'Flags,' click on 'Add a Database flag', and then select 'alloydb.iam\_authentication' flag from the 'New database flag'
6. Provide 'ON' as value for the flag.
7. Click 'Done'.


---

# 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/gcp-alloydb-instance-with-iam-authentication-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.
