用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-ocp-vm-v100-1-4命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-ocp-vm-v100-1-4 |
| description | Disable downwardMetrics feature gate (Automated) |
| category | cis-openshift-virtualization |
| version | 1.0 |
| author | cyberstrike-official |
| tags | ["cis","openshift","kubernetes","openshift-virtualization","kubevirt","vm","platform-configuration","feature-gate","downward-metrics","information-disclosure"] |
| cis_id | 1.4 |
| cis_benchmark | CIS Redhat OpenShift Virtual Machine Extension Benchmark v1.0.0 |
| tech_stack | ["kubernetes","openshift","openshift-virtualization","kubevirt"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
The downwardMetrics feature allows users to collect and monitor additional metrics related to host and virtual machine performance.
Enabling the downwardMetrics feature introduces the risk of unauthorized or unintended sharing of information, as well as manipulation of information flow restrictions. The additional metrics include sensitive performance data, which could aid in the reconnaissance activities of a malicious actor.
Guests are not able to use the host metrics.
Check the downwardMetrics feature gate is disabled:
$ oc get hyperconverged kubevirt-hyperconverged -n openshift-cnv -ojsonpath='{.spec.featureGates.downwardMetrics}'
Verify the output is false.
Set downwardMetrics to False:
$ oc patch hyperconverged kubevirt-hyperconverged -n openshift-cnv --type='json' -p='[
{"op": "replace", "path": "/spec/featureGates/downwardMetrics", "value": false },
]'
By default, the downwardMetrics is set to false.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 8.2 Collect Audit Logs | Y | Y | Y |
| v8 | 8.3 Ensure Adequate Audit Log Storage | Y | Y | Y |
| v7 | 6.3 Enable Detailed Logging | N | Y | Y |
| v7 | 14.9 Enforce Detail Logging for Access or Changes to Sensitive Data | N | N | Y |
| Tactic | Technique |
|---|
| Discovery | T1082 System Information Discovery |
| Reconnaissance | T1592 Gather Victim Host Information |