用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ocp-v170-5-7-1命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-ocp-v170-5.7.1 |
| description | Create administrative boundaries using namespaces (Manual) |
| category | cis-openshift |
| version | 1.7.0 |
| author | cyberstrike-official |
| tags | ["cis","openshift","kubernetes","redhat","policies","general-policies"] |
| cis_id | 5.7.1 |
| cis_benchmark | CIS Red Hat OpenShift Container Platform Benchmark v1.7.0 |
| tech_stack | ["kubernetes","openshift","redhat"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Use namespaces to isolate your Kubernetes objects.
Limiting the scope of user permissions can reduce the impact of mistakes or malicious activities. A Kubernetes namespace allows you to partition created resources into logically named groups. Resources created in one namespace can be hidden from other namespaces. By default, each resource created by a user in Kubernetes cluster runs in a default namespace, called default. You can create additional namespaces and attach resources and users to them. You can use Kubernetes Authorization plugins to create policies that segregate access to namespace resources between different users.
You need to switch between namespaces for administration.
OpenShift Projects wrap Kubernetes namespaces and are used by default in OpenShift 4.
Run the following command to obtain a list of all non-default OpenShift and Kubernetes namespaces in the cluster.
oc get namespaces -o json | jq '.items[] |
select(.metadata.name|test("(?!default|kube-.|openshift.)^.*")) |
.metadata.name'
Ensure that these namespaces are the ones you need and are adequately administered as per your requirements.
Follow the documentation and create namespaces for objects in your deployment as you need them.
By default, Kubernetes starts with two initial namespaces:
default - The default namespace for objects with no other namespacekube-system - The namespace for objects created by the Kubernetes systemopenshift -openshift-* - The namespace for objects created by OpenShift| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|
| v8 | 4.4 Implement and Manage a Firewall on Servers | * | * | * |
| v7 | 9.5 Implement Application Firewalls | * |
| Techniques / Sub-techniques | Tactics | Mitigations |
|---|---|---|
| T1106, T1609 | TA0002, TA0008 | M1038 |
Level 1 (Manual)