用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-compute-2-2-2命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-aws-compute-2.2.2 |
| description | Ensure Public Access to EBS Snapshots is Disabled |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","ec2","ebs","snapshots","public-access","permissions"] |
| cis_id | 2.2.2 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack |
| ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-2.1.5","cis-aws-compute-2.2.3","cis-aws-compute-2.2.4"] |
| prerequisites | [] |
| severity_boost | {} |
To protect your data disable the public mode of EBS snapshots.
This protects your data so that it is not accessible to all AWS accounts preventing accidental access and leaks.
Removing public access from EBS snapshots may affect other AWS accounts that rely on them. Ensure private sharing is configured for any authorized accounts.
aws ec2 describe-snapshot-attribute \
--snapshot-id <snapshot-ID> \
--attribute createVolumePermission
Group is not set to all.Snapshots.snapshot then click Actions, Modify Permissions.Private.If the snapshot is set to public refer to the remediation below.
The createVolumePermission attribute should not contain a Group set to "all". In the console, all snapshots should show as Private.
aws ec2 modify-snapshot-attribute \
--snapshot-id <snapshot-ID> \
--attribute createVolumePermission \
--operation remove --group-name all
Snapshots.snapshot then click 'Actions, Modify Permissions'.Private.Save.By default, EBS snapshots are private when created.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 3.3 Configure Data Access Control Lists | x | x | x |
| v7 | 14.6 Protect Information through Access Control Lists | x | x | x |
Level 1 | Automated