[Bug] il5/gke-hardened: shielded nodes, confidential nodes and the CIS SSH key setting never apply
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 67/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- gcp, terraform
- 領域
- cloud, infrastructure
調査の方向性
Read blueprints/il5/gke-hardened/main.tf lines 150–175 alongside the enable_features and node_config types in modules/gke-cluster-standard-se/variables.tf. The issue describes moving confidential node, machine type, and metadata settings to the node pool created by module "cluster_nodepool" through modules/gke-nodepool. Run terraform plan and confirm shielded nodes are enabled and the intended node settings apply.
索引モデルが issue の本文から書いたものです。
説明
Bug Description
The blueprints/il5/gke-hardened/main.tf file declares several CIS hardening settings that never reach the cluster:
enable_features.enable_shielded_nodes = trueis a typo forshielded_nodes, so shielded nodes stay at the module default,false;node_config.metadata.block-project-ssh-keys,node_config.machine_typeandnode_config.confidential_nodesare not attributes of thenode_configtype inmodules/gke-cluster-standard-se, so Terraform silently discards them.
Environment and Deployment Context
- Stellar Engine Version/Commit:
mainat commit2b112119e - Deployment Type:
- US Region Restricted (e.g., Access Policy constraint)
- FedRAMP Moderate
- FedRAMP High
- DoD IL4
- DoD IL5
- Stand-alone / Custom
- FAST Stage (if applicable):
- Stage 0 (Bootstrap)
- Stage 1 (Resource Management)
- Stage 2 (Network Creation)
- Stage 3 (Security and Audit)
- Affected Component:
blueprints/il5/gke-hardened,modules/gke-cluster-standard-se - Terraform Version: any; static analysis of the configuration
- GCP Provider Version: any
Steps to Reproduce
- Read
blueprints/il5/gke-hardened/main.tf, lines 150 to 175. - Compare the attributes with the
enable_featuresandnode_configtypes inmodules/gke-cluster-standard-se/variables.tf. - Run
terraform planand inspectenable_shielded_nodesand the node configuration of the cluster.
Expected Behavior
The hardened cluster runs shielded and confidential nodes and blocks project-wide SSH keys, as the CIS Compliance Benchmark 4.3 and 4.11 comments in the file state.
Actual Behavior
The plan sets enable_shielded_nodes = false and applies none of the node settings.
Relevant Logs and Errors
No error appears, because Terraform discards object attributes that a variable type does not declare.
Additional Context
- Set
enable_features.shielded_nodes = true, which GKE applies as an in-place update. - Move confidential nodes, the machine type and the metadata to the node pool that
module "cluster_nodepool"creates throughmodules/gke-nodepool. - The migration in #311 removes the discarded attributes, so that the configuration no longer suggests they apply, and leaves this fix here.
- Relevant controls include NIST 800-53r5 SC-39 and CM-6.
- 主要言語
- HCL
- スター
- 58
- フォーク
- 25
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 59
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/stellar-engine のほかの issue
-
Enhancement Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Scope - Module
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/stellar-engine#320 ·
メンテナーはふだん 1 日以内に返信
-
Enhancement Level of Effort - Medium Priority - Medium Scope - Blueprint Scope - Fast Scope - Module
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
google/stellar-engine#321 ·
メンテナーはふだん 1 日以内に返信
-
[Feature Request] Sync the repository tooling under tools/ from upstream Cloud Foundation FabricオープンDocumentation Enhancement Level of Effort - Medium Priority - Medium Scope - Module
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
google/stellar-engine#319 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] fedramp-high/gitlab: GKE control plane authorized ranges and node settings are silently ignored対応中かも @digitalresistor が 1 日前に担当しました。 オープンBug Framework - FedRAMP High Level of Effort - Low Priority - High Scope - Blueprint Scope - Module Security
難易度 4/5 1〜2日 初心者へのやさしさ 57/100
google/stellar-engine#314 ·
メンテナーはふだん 1 日以内に返信
-
[Feature Request] Sync the modules from upstream Cloud Foundation Fabric and keep them current対応中かも @digitalresistor が 3 日前に担当しました。 オープンDocumentation Enhancement Level of Effort - High Priority - Medium Scope - Module
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
google/stellar-engine#308 ·
メンテナーはふだん 1 日以内に返信
google/stellar-engine の issue をすべて見る
似ている issue
-
BUG: AzureBlobStorageTarget returns a URL with // when the container URL ends with a slash対応中かも @ShivamSharma43 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
Missing return in buyer notification handler allows Lambda to finish before SES request completes対応中かも @l4d2boomer が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
aws-samples/aws-marketplace-serverless-saas-integration#112 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws-samples/sample-per-model-bedrock#464 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pgadmin-org/pgadmin4#10673 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws-cloudformation/cfn-lint#4854 ·
メンテナーはふだん 2 日以内に返信