> 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/alibaba-cloud-ram-policy-allows-full-administrative-privileges.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Alibaba Cloud RAM policy allows full administrative privileges

### Synopsis

| Field               | Value                                                          |
| ------------------- | -------------------------------------------------------------- |
| Rule Type           | Detection                                                      |
| Finding Type        | Alibaba Cloud RAM policy allows full administrative privileges |
| Finding ID          | 60000368                                                       |
| Generates a Finding | This detection rule also generates a finding                   |
| Severity            | Medium                                                         |
| Category            | CONFIGURATION                                                  |
| Cloud Providers     | ALIBABA\_CLOUD                                                 |
| Platform Module     | CSPM                                                           |
| Asset Types         | ALIBABA\_CLOUD\_RAM\_POLICY                                    |

### Description

Unrestricted administrative privileges assigned via Alibaba Cloud Resource Access Management (RAM) policies pose a significant security risk. These policies grant complete control over Alibaba Cloud resources to users, groups, or roles.

RAM policies define access control for Alibaba Cloud resources. Granting full administrative privileges, rather than least privilege access, significantly increases the attack surface. A compromised account with such broad permissions could lead to data breaches, unauthorized resource modification, or complete account takeover. This undermines the principle of least privilege and exposes the organization to substantial risk.

The impact of this misconfiguration could be catastrophic, leading to data loss, service disruptions, financial losses, and reputational damage. Restricting permissions to only what is absolutely necessary minimizes the potential impact of a compromised account. Least privilege access ensures that even if an account is compromised, the attacker's actions are limited.

To mitigate this risk, implement the principle of least privilege. Instead of granting 'AlibabaCloudFullAccess' or similar broad permissions, create granular RAM policies that grant only the necessary permissions for specific tasks. Regularly review and update these policies to remove unnecessary privileges and ensure they align with current needs. Use role-based access control (RBAC) to manage permissions effectively.

### Remediation

1. Log in to Alibaba Cloud Portal
2. Go to Resource Access Management
3. In the left-side navigation pane, click 'Policies'
4. Click on the reported RAM policy
5. In the 'Grants' tab, under 'Actions' column click on 'Revoke Permission' for all Users/Roles/Groups attached to the policy
6. Click on 'Delete Policy'
7. In 'Delete Policy' popup window, fill in 'Enter policy name to confirm.' field
8. Click on 'Delete Policy' to delete the reported policy


---

# 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/alibaba-cloud-ram-policy-allows-full-administrative-privileges.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.
