Infrastructure-as-Code (IaC) Security
Infrastructure-as-Code (IaC) Security とは何ですか?
Infrastructure-as-Code (IaC) SecurityThe discipline of scanning, policy-checking, and securing IaC templates (Terraform, OpenTofu, Pulumi, CloudFormation, Helm, Kubernetes manifests) before they provision misconfigured cloud resources.
Infrastructure-as-Code (IaC) security treats declarative provisioning templates as a primary security artifact: most cloud misconfigurations now originate not from manual console edits but from Terraform, OpenTofu, Pulumi, AWS CloudFormation, Bicep, Helm, or raw Kubernetes manifests committed to a repo and applied by CI. Programs combine static analysis tools (Checkov, KICS, tfsec, Terrascan, Snyk IaC, Trivy config-scan), policy-as-code engines that enforce rules at plan-time (OPA/Rego, Conftest, HashiCorp Sentinel, Checkmarx Cloudguard, Wiz Code), drift-detection comparing live state to source-of-truth, and secret scanners that block hard-coded credentials in `.tf` and `values.yaml`. Increasingly, IaC security extends 'left' into developer workflows (IDE plugins, pre-commit hooks) and 'right' into runtime correlation (proving the deployed S3 bucket matches the reviewed module). Common findings include public S3 buckets, over-broad IAM `*`, missing encryption-at-rest, security groups open to 0.0.0.0/0, and Kubernetes pods running as root.
● 例
- 01
A pull-request CI step runs Checkov against the Terraform plan and blocks a merge that would create an S3 bucket without server-side encryption.
- 02
An OPA policy denies any Kubernetes manifest that mounts the Docker socket or runs with `privileged: true`.
● よくある質問
Infrastructure-as-Code (IaC) Security とは何ですか?
The discipline of scanning, policy-checking, and securing IaC templates (Terraform, OpenTofu, Pulumi, CloudFormation, Helm, Kubernetes manifests) before they provision misconfigured cloud resources. サイバーセキュリティの クラウドセキュリティ カテゴリに属します。
Infrastructure-as-Code (IaC) Security とはどういう意味ですか?
The discipline of scanning, policy-checking, and securing IaC templates (Terraform, OpenTofu, Pulumi, CloudFormation, Helm, Kubernetes manifests) before they provision misconfigured cloud resources.
Infrastructure-as-Code (IaC) Security はどのように機能しますか?
Infrastructure-as-Code (IaC) security treats declarative provisioning templates as a primary security artifact: most cloud misconfigurations now originate not from manual console edits but from Terraform, OpenTofu, Pulumi, AWS CloudFormation, Bicep, Helm, or raw Kubernetes manifests committed to a repo and applied by CI. Programs combine static analysis tools (Checkov, KICS, tfsec, Terrascan, Snyk IaC, Trivy config-scan), policy-as-code engines that enforce rules at plan-time (OPA/Rego, Conftest, HashiCorp Sentinel, Checkmarx Cloudguard, Wiz Code), drift-detection comparing live state to source-of-truth, and secret scanners that block hard-coded credentials in `.tf` and `values.yaml`. Increasingly, IaC security extends 'left' into developer workflows (IDE plugins, pre-commit hooks) and 'right' into runtime correlation (proving the deployed S3 bucket matches the reviewed module). Common findings include public S3 buckets, over-broad IAM `*`, missing encryption-at-rest, security groups open to 0.0.0.0/0, and Kubernetes pods running as root.
Infrastructure-as-Code (IaC) Security からどのように防御しますか?
Infrastructure-as-Code (IaC) Security に対する防御は通常、上記の定義で述べたとおり、技術的統制と運用上の実践を組み合わせます。
Infrastructure-as-Code (IaC) Security の別名は何ですか?
一般的な別名: IaC scanning, Policy-as-Code for IaC, Terraform security。
● 関連用語
- cloud-security№ 209
クラウドの誤設定
公開されたストレージや脆弱な IAM ポリシー、開放された管理ポートなど、クラウドサービスの不適切な設定によって生じるセキュリティ上の欠陥。
- cloud-security№ 280
CSPM(クラウドセキュリティポスチャー管理)
クラウドアカウントをベストプラクティスやコンプライアンス基準に対し継続的に評価し、構成ミスを検出・是正するためのツールカテゴリ。
- cloud-security№ 939
ポリシー・アズ・コード
セキュリティ・コンプライアンス・ガバナンスのルールを機械可読なコードとして定義し、バージョン管理・テスト・レビュー・自動適用できるようにする実践。
- cloud-security№ 848
OPA(Open Policy Agent)
CNCF Graduated の汎用ポリシーエンジン。Rego 言語を用いて、アプリや Kubernetes アドミッションから認可判定を分離する。
- cloud-security№ 1103
セキュリティ・アズ・コード
セキュリティ制御・テスト・インフラをソースコードとして表現し、バージョン管理・レビュー・自動化のうえアプリと一緒に継続的に配送する実践。
- appsec№ 1145
シフトレフトセキュリティ
セキュリティ活動をソフトウェアライフサイクルの早い段階に前倒しし、コードが本番に到達する前に脆弱性を発見・修正する取り組み。