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

# IBM Cloud Service ID with IAM policies provide administrative privileges for Kubernetes Service

### Synopsis

| Field               | Value                                                                                           |
| ------------------- | ----------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                       |
| Finding Type        | IBM Cloud Service ID with IAM policies provide administrative privileges for Kubernetes Service |
| Finding ID          | 60000801                                                                                        |
| 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\_SERVICE\_ID                                                         |
| ATT\&CK Tactic      | TA0004 (TA0004)                                                                                 |
| ATT\&CK Technique   | T1078.004 (T1078.004)                                                                           |

### Description

Service IDs holding the 'Administrator' role for the Kubernetes Service can create, reconfigure, and delete clusters, and can obtain the credentials needed to operate the workloads running inside them.

Service IDs authenticate applications and automation rather than people, and an access policy that grants 'Administrator' on the Kubernetes Service without narrowing the scope to a resource group or cluster instance gives the holder control of the container platform itself. Service ID credentials are long-lived and frequently embedded in build pipelines and container images, so a leaked key lets an adversary retrieve cluster configuration, schedule their own workloads, and reach every secret those workloads mount.

A compromised cluster is a foothold rather than a single resource. An attacker can deploy persistent containers, harvest the service account tokens inside the cluster to pivot into other cloud services, weaken admission controls, or delete node pools and cause an outage across every application the cluster hosts.

Grant service IDs only the roles their workload needs, using a read-only or namespace-scoped role in place of 'Administrator' wherever possible, and scope each policy to a single cluster or resource group. Review service ID policies on a fixed cadence, rotate API keys, and remove identities that no longer serve an active workload.

### Remediation

**Manual steps:**

IBM IAM Service ID, 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)', and click on 'Service IDs' in the left panel.
3. Select the Service ID which is reported and you want to edit access for.
4. Under the 'Access' tab, go to the 'Access policies' section, and click on the three dots on the right corner of a row for the policy which is having Administrator permission on 'Kubernetes 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-service-id-with-iam-policies-provide-administrative-privileges-for-kubernetes-service.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.
