Skip to content
Back to skills

Cis Eks V180 4.5.2

ASecurity

The default namespace should not be used (Automated)

  • 3,723 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
securitygobashkubernetesawssecurity

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-eks-v180-4.5.2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Eks V180 4.5.2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Eks V180 4.5.2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-eks-v180-4-5-2/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-eks-v180-4-5-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-eks-v180-4.5.2
description: "The default namespace should not be used (Automated)"
category: cis-eks
version: "1.8.0"
author: cyberstrike-official
tags: [cis, eks, kubernetes, aws, general-policies, namespaces, default-namespace, resource-isolation]
cis_id: "4.5.2"
cis_benchmark: "CIS Amazon Elastic Kubernetes Service (EKS) Benchmark v1.8.0"
tech_stack: [kubernetes, aws, eks]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# 4.5.2 The default namespace should not be used (Automated)

## Profile Applicability

- Level 1

## Description

Kubernetes provides a `default` namespace, where objects are placed if no namespace is specified for them. Placing objects in this namespace makes application of RBAC and other controls more difficult.

## Rationale

Resources in a Kubernetes cluster should be segregated by namespace, to allow for security controls to be applied at that level and to make it easier to manage resources.

## Impact

None.

## Audit Procedure

Run the below command to list objects in the default namespace:

```bash
kubectl get all -n default
```

The only entries there should be system-managed resources such as the `kubernetes` service.

```bash
# Check for user-created resources in default namespace
kubectl get pods -n default
kubectl get deployments -n default
kubectl get services -n default | grep -v kubernetes
kubectl get configmaps -n default | grep -v kube-root-ca
```

## Remediation

Ensure that namespaces are created to allow for appropriate segregation of Kubernetes resources and that all new resources are created in a specific namespace.

## Default Value

Unless a namespace is specified, all Kubernetes resources are created in the `default` namespace.

## References

1. https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

## CIS Controls

| Controls Version | Control                                                                               | IG 1 | IG 2 | IG 3 |
| ---------------- | ------------------------------------------------------------------------------------- | ---- | ---- | ---- |
| v8               | 12.8 Establish and Maintain Dedicated Computing Resources for All Administrative Work |      |      | x    |
| v7               | 12.1 Maintain an Inventory of Network Boundaries                                      | x    | x    | x    |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.