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 守衛指令碼及自動化驗證工具,即拷即用。