Kanji
・云架构工程师 / 自由职业 ・1993年出生 ・爱媛县出身 / 现居东京都涩谷区 ・5年 AWS 实战经验 个人资料详情
目录
[Account.1]
[IAM.28]
[EC2.8]
[S3.22]
CloudWatch.1
14
1.16
IAM.1
2024年4月我最初撰写本文时,AWS Security Hub 仅支持 CIS AWS Foundations Benchmark v1.2.0 和 v1.4.0,想要审计 CIS v3.0.0 只能依赖开源工具 Prowler。
此后,AWS Security Hub CSPM 正式支持了 CIS AWS Foundations Benchmark v3.0.0(2024年5月) 与 v5.0.0(2025年) 。然而,当我在生产环境的 AWS Organizations 多账户体系中关闭旧版 CIS v1.4.0 并切换至 CIS v3.0.0 时,却踩到了一个隐蔽的坑: Section 4( 4.1 ~ 4.15 :通过 CloudWatch Logs 指标过滤器与告警监控 root 使用、IAM 策略变更、控制台登录失败、VPC/SG 变更等共14项) 以及 1.16 (禁止附加 *:* 管理员权限策略,原 [IAM.1] ) 从 Security Hub 的自动评估中彻底消失了。
4.1
4.15
*:*
[IAM.1]
排查官方文档后发现,由于 CIS 从 v3.0.0 起将 Section 4 全部调整为 Manual (人工检查),Security Hub CSPM 在 CIS v3.0.0 和 v5.0.0 标准中将 [CloudWatch.1] 至 [CloudWatch.14] 全部标记为 Not supported – manual check 。因此,我们在生产中最终落地的最佳实践是构建三层防御体系: ① CI/CD 部署前静态拦截( CFn Guard )、② 基于 AWS Config 的持续 CSPM 监控( Security Hub )、③ 覆盖 Manual 项与 Section 4 的每日 API 深度审计( Prowler v4/v5 ) 。
Manual
[CloudWatch.1]
[CloudWatch.14]
Not supported – manual check
CFn Guard
Security Hub
Prowler v4/v5
▲ 结合 CFn Guard(Shift-Left)、Security Hub CSPM(持续监控)与 Prowler v4/v5(深度审计)的 CIS 三层审计架构
cis_1.4_aws
cis_3.0_aws
cis_4.0_aws
cis_5.0_aws
# 1. Enable CIS v3.0.0 / v5.0.0 standards in AWS Security Hub CSPM aws securityhub batch-enable-standards \ --standards-subscription-requests \ StandardsArn="arn:aws:securityhub:ap-northeast-1::standards/cis-aws-foundations-benchmark/v/3.0.0" \ StandardsArn="arn:aws:securityhub:ap-northeast-1::standards/cis-aws-foundations-benchmark/v/5.0.0" # 2. Run Prowler v4 / v5 for CIS v3.0.0 and push findings to Security Hub (ASFF) prowler aws --compliance cis_3.0_aws --security-hub --region ap-northeast-1 # 3. Validate CloudFormation templates pre-deploy using cfn-guard cfn-guard validate \ --data ./template.yaml \ --rules ./aws-guard-rules-registry/rules/aws/amazon_s3/ \ --show-summary fail
The tables below map all 62 requirements in CIS AWS Foundations Benchmark v3.0.0 across AWS Security Hub CSPM (including official [Control.ID] and v5.0.0 section numbers), CFn Guard, and Prowler v4/v5.
[Control.ID]
In CIS v3.0.0, Security Hub added support for 1.15 ( [IAM.2] ), 1.19 ( [IAM.26] ), 1.20 ( [IAM.28] ), and 1.22 ( [IAM.27] ), while dropping 1.16 ( [IAM.1] full *:* admin policy check) from the CIS v3.0.0/v5.0.0 standard mapping.
1.15
[IAM.2]
1.19
[IAM.26]
1.20
1.22
[IAM.27]
Security Hub v3.0.0 significantly expanded Storage coverage by adding RDS automatic minor version upgrades ( 2.3.2 : [RDS.13] ), RDS public access prohibition ( 2.3.3 : [RDS.2] ), and EFS encryption ( 2.4.1 : [EFS.1] ). In CIS v5.0.0, EBS encryption moves to 5.1.1 and RDS Multi-AZ ( 2.2.4 : [RDS.5] / [RDS.15] ) is added.
2.3.2
[RDS.13]
2.3.3
[RDS.2]
2.4.1
[EFS.1]
5.1.1
2.2.4
[RDS.5]
[RDS.15]
With the addition of S3 object-level write and read event logging ( 3.8 : [S3.22] and 3.9 : [S3.23] ) in v3.0.0, 100% of Section 3 (all 9 items) is fully automated in both Security Hub CSPM and Prowler .
3.8
3.9
[S3.23]
As noted earlier, zero items in Section 4 are supported in Security Hub’s CIS v3.0.0 or v5.0.0 standards because CIS reclassified 4.1 – 4.15 as Manual . To maintain automated checks for CloudWatch metric filters and alarms, either retain [CloudWatch.1] and [CloudWatch.4] – [CloudWatch.14] from CIS v1.4.0 or run Prowler.
[CloudWatch.4]
In Section 5, Security Hub v3.0.0 added support for IPv4/IPv6 remote administration port restrictions ( 5.2 : [EC2.53] and 5.3 : [EC2.54] ) and mandatory EC2 IMDSv2 ( 5.6 : [EC2.8] ). Only 5.5 (VPC peering least-access routing: Manual) remains unsupported in Security Hub.
5.2
[EC2.53]
5.3
[EC2.54]
5.6
5.5
Across all 62 requirements in CIS AWS Foundations Benchmark v3.0.0, effective coverage breaks down as follows:
[CloudWatch.1, 4--14]
cfn-guard
1.13
1.18
In practice, as organizations transition toward CIS v5.0.0, I still debate how long we should maintain legacy CloudWatch Logs metric filters and SNS alarms for Section 4 when direct EventBridge rules on CloudTrail events are faster and simpler. Still, external auditors and compliance questionnaires continue to ask for strict CIS Benchmark evidence. Pairing continuous Security Hub CSPM monitoring with scheduled Prowler scans remains the most pragmatic way to satisfy both real-world security operations and formal audit requirements.
提供逼真 AI 模拟通话与多维反馈,结合 16 讲实战社交学院与工作室级 AI 肖像生成,全面提升社交互动质量。
拍小票即可完成高精度智能拆单,支持 LINE 登录无缝结算团队聚会支出,告别繁琐账单分摊。
占卜师、管家、调酒师等 AI 角色实时引导话题与聚会游戏,让线下与线上聚餐氛围瞬间升温。
Real-time AI quant analysis of corporate earnings reports.
人工甘味料や添加物のNG除外と有効成分あたりの実質単価比較データベース。
获取本文介绍的完整配置文件包:完全兼容 Antigravity、Kiro、Claude Code 和 Codex 的通用 AGENTS.md、hooks.json、Git 守卫脚本及自动化验证工具,即拷即用。