用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aks-v170-4-4-1命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-aks-v170-4.4.1 |
| description | Ensure latest CNI version is used (Manual) |
| category | cis-aks |
| version | 1.7.0 |
| author | cyberstrike-official |
| tags | ["cis","aks","kubernetes","azure","cni","network-plugin","network-policy"] |
| cis_id | 4.4.1 |
| cis_benchmark | CIS Azure Kubernetes Service (AKS) Benchmark v1.7.0 |
| tech_stack | ["kubernetes","azure","aks"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
There are a variety of CNI plugins available for Kubernetes. If the CNI in use does not support Network Policies it may not be possible to effectively restrict traffic in the cluster.
Kubernetes network policies are enforced by the CNI plugin in use. As such it is important to ensure that the CNI plugin supports both Ingress and Egress network policies.
None.
Ensure CNI plugin supports network policies.
Set Environment Variables to run:
export RESOURCE_GROUP=Resource Group Name
export CLUSTER_NAME=Cluster Name
Azure command to check for CNI plugin:
az aks show --resource-group ${RESOURCE_GROUP} --name ${CLUSTER_NAME} --query "networkProfile"
As with RBAC policies, network policies should adhere to the policy of least privileged access. Start by creating a deny all policy that restricts all inbound and outbound traffic from a namespace or create a global policy using Cilium or Calico.
This will depend on the CNI plugin in use.
One example here is Flannel (https://github.com/coreos/flannel) which does not support Network policy unless Calico is also in use.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 16.5 Use Up-to-Date and Trusted Third-Party Software Components |
| x |
| x |
| v7 | 18.4 Only Use Up-to-date And Trusted Third-Party Components | x | x |