> 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-kubernetes-cluster-has-image-pull-secrets-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Kubernetes cluster has Image pull secrets disabled

### Synopsis

| Field               | Value                                                        |
| ------------------- | ------------------------------------------------------------ |
| Rule Type           | Detection                                                    |
| Finding Type        | IBM Cloud Kubernetes cluster has Image pull secrets disabled |
| Finding ID          | 60000768                                                     |
| Generates a Finding | This detection rule also generates a finding                 |
| Severity            | Medium                                                       |
| Category            | CONFIGURATION                                                |
| Cloud Providers     | IBM\_CLOUD                                                   |
| Platform Module     | CSPM                                                         |
| Asset Types         | IBM\_KUBERNETES\_CLUSTER                                     |
| ATT\&CK Tactic      | TA0112 (TA0112)                                              |
| ATT\&CK Technique   | T1685 (T1685)                                                |

### Description

IBM Cloud Kubernetes Service can apply a set of image pull secrets to the default Kubernetes namespace when a cluster is created. These secrets hold the credentials that let the cluster pull container images from IBM Cloud Container Registry, including the private registry namespaces belonging to the account. The features.pullSecretApplied attribute records whether that configuration was completed for the cluster.

This policy identifies Kubernetes clusters in the normal running state where image pull secrets have not been applied. The check reads the cluster type and operational state so that only live Kubernetes clusters are assessed, and then reports those whose pull secret configuration is absent.

When pull secrets are missing, workloads cannot retrieve images from the account's private registry and teams routinely work around the failure by moving images to a public registry or by embedding registry credentials directly into deployment manifests and environment variables. Both workarounds are materially worse than the original problem: public images expose internal application code and dependency inventories, and credentials committed into manifests are copied into source control, CI logs and container layers, where they persist long after the deployment that needed them.

As a remediation, apply the image pull secrets to the cluster using the ibmcloud ks cluster pull-secret apply command for the affected cluster, then confirm that features.pullSecretApplied reports true. Afterward, audit existing deployments for hardcoded registry credentials and replace them with references to the managed pull secret.

### Remediation

**Manual steps:**

IBM Kubernetes Cluster - Manual remediation steps:

To enable image pull secrets feature on a Kubernetes cluster, refer following URLs:

<https://cloud.ibm.com/docs/containers?topic=containers-registry#imagePullSecret\\_migrate\\_api\\_key>

<https://cloud.ibm.com/docs/containers?topic=containers-registry#update-pull-secret>


---

# 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-kubernetes-cluster-has-image-pull-secrets-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.
