> 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-openshift-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 OpenShift cluster has Image pull secrets disabled

### Synopsis

| Field               | Value                                                       |
| ------------------- | ----------------------------------------------------------- |
| Rule Type           | Detection                                                   |
| Finding Type        | IBM Cloud OpenShift cluster has Image pull secrets disabled |
| Finding ID          | 60000767                                                    |
| 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 Red Hat OpenShift clusters are provisioned with image pull secrets that authenticate the cluster to IBM Cloud Container Registry and to the Red Hat registries supplying the platform images. The features.pullSecretApplied attribute records whether those credentials were successfully installed into the cluster's default namespace when it was created.

This policy identifies OpenShift 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 OpenShift 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 publishing images to a public registry or by embedding registry credentials directly into deployment manifests and build configurations. Both workarounds are materially worse than the original problem: public images expose internal application code and dependency inventories, and credentials written into manifests are copied into source control, CI logs and image layers, where they survive long after the deployment that required them.

As a remediation, apply the image pull secrets to the cluster using the ibmcloud oc cluster pull-secret apply command for the affected cluster, then confirm that features.pullSecretApplied reports true. Afterward, audit existing deployment and build configurations 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 an OpenShift cluster, refer to the following URLs:

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

<https://cloud.ibm.com/docs/openshift?topic=openshift-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-openshift-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.
