> 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/oci-kubernetes-engine-cluster-pod-security-policy-not-enforced.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# OCI Kubernetes Engine Cluster pod security policy not enforced

### Synopsis

| Field               | Value                                                          |
| ------------------- | -------------------------------------------------------------- |
| Rule Type           | Detection                                                      |
| Finding Type        | OCI Kubernetes Engine Cluster pod security policy not enforced |
| Finding ID          | 60000711                                                       |
| Generates a Finding | This detection rule also generates a finding                   |
| Severity            | Low                                                            |
| Category            | CONFIGURATION                                                  |
| Cloud Providers     | OCI                                                            |
| Platform Module     | CSPM                                                           |
| Asset Types         | OCI\_CONTAINERS\_ARTIFACTS\_KUBERNETES\_CLUSTER                |

### Description

Unenforced pod security policies on OCI Kubernetes Engine clusters allow containers to run with excessive privileges, increasing the risk of unauthorized access and data breaches. OCI Kubernetes Engine clusters rely on Pod Security Policies (PSPs) to restrict container capabilities. Without enforced PSPs, attackers could deploy malicious pods with elevated privileges, potentially leading to data exfiltration, lateral movement, and complete cluster compromise.

The absence of enforced PSPs leaves containers vulnerable to exploits. Attackers could leverage these vulnerabilities to gain root access within the cluster, allowing them to execute arbitrary code, access sensitive data, or disrupt cluster operations. This misconfiguration significantly increases the attack surface and undermines the security posture of the entire Kubernetes environment.

A successful attack could result in data loss, service disruption, and reputational damage. Enforcing robust pod security policies is crucial for limiting the blast radius of compromised containers and maintaining the integrity of the cluster. Properly configured PSPs ensure that only authorized containers with necessary permissions can run, mitigating the risk of malicious activity.

To remediate this, implement and enforce stringent pod security policies on all OCI Kubernetes Engine clusters. Regularly review and update these policies to reflect evolving threat landscapes and security best practices. Utilize built-in OCI tools and functionalities to monitor compliance with defined security policies. Prioritize least privilege principles when configuring container permissions.

### Remediation

To configure Pod Security Policies for Container Engine for Kubernetes, refer below URL: <https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengusingpspswithoke.htm>

NOTE: You must define pod security policies for the pod security policy admission controller to enforce when accepting pods into the cluster. If you do not define pod security polices, the pod security policy admission controller will prevent any pods being created in the cluster.


---

# 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/oci-kubernetes-engine-cluster-pod-security-policy-not-enforced.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.
