Back to controls

Ensure namespace enabled restricted pod security admission or if there are external policies (validating/mutating webhooks)

Checks that every namespace enabled restricted pod security admission, or if there are external policies applied for namespaced resources (validating/mutating webhooks) - returns them to be reviewed.

Category

Controls

Low

Applies to

Kubernetes

Coverage

null controls, 1 queries

Asset types

1 covered

Overview

Checks that every namespace enabled restricted pod security admission, or if there are external policies applied for namespaced resources (validating/mutating webhooks) - returns them to be reviewed.

Remediation guidance

Ensure that either Pod Security Admission or an external policy control system is in place for every namespace which contains user workloads.

Impact Statement

Where policy control systems are in place, there is a risk that workloads required for the operation of the cluster may be stopped from running. Care is required when implementing admission control policies to ensure that this does not occur.

Default Value

By default, Pod Security Admission is enabled but no policies are in place.

Multiple Remediation Paths

SERVICE-WIDE (RECOMMENDED when many resources are affected): Apply organization/tenant-level guardrails and baseline policies for the entire platform.

ASSET-LEVEL: Fix only the affected resources identified by this control.

PREVENTIVE: Add preventive policy checks to CI/CD and periodic posture scans.

References for Service-Wide Patterns

  • Platform policy/governance and preventive control patterns should be applied tenant-wide where supported.

Query logic

These are the stored checks tied to this control.

Ensure namespace enable restricted pod security admission

Connectors

Kubernetes

Covered asset types

Namespace

Expected check: eq []

{
  namespaces(
    where: {
      tags_NONE: {
        key: "pod-security.kubernetes.io/enforce"
        value: "restricted"
      }
    }
  ) {
    ...AssetFragment
  }
}
Cyscale Logo
Cyscale is an agentless cloud-native application protection platform (CNAPP) that automates the contextual analysis of cloud misconfigurations, vulnerabilities, access, and data, to provide an accurate and actionable assessment of risk.

Stay connected

Receive new blog posts and product updates from Cyscale

By clicking Subscribe, I agree to Cyscale’s Privacy Policy


© 2026 Cyscale Limited

LinkedIn icon
Twitter icon
Facebook icon
crunch base icon
angel icon