Automic VaultAutomic Vault

brew

cloudformation-guard を Homebrew でインストール

cloudformation-guard のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cloudformation-guard

local Homebrew formula metadata

概要

パッケージ概要

Checks CloudFormation templates for compliance using a declarative syntax

コマンドとエイリアス

  • cfn-guard

履歴

プロジェクトの歴史と使われ方

AWS CloudFormation Guard, exposed as cfn-guard, is a policy-as-code CLI and rule language for validating structured configuration such as CloudFormation templates. AWS documentation and the upstream repository both describe it as a way to write declarative guard rules and validate JSON/YAML data.

プロジェクトの歴史

AWS created the cloudformation-guard repository in 2020 and published an initial preview release shortly afterward. The project gave CloudFormation users a lightweight validation language that could run locally or in CI before templates reached deployment.

Guard's scope widened beyond only CloudFormation templates: the official repository describes validation for JSON- and YAML-formatted data including Kubernetes configurations and Terraform JSON plans, while AWS docs keep CloudFormation as the primary user-facing context.

採用の歴史

CloudFormation Guard is adopted by platform, security, and compliance teams that need repeatable checks on infrastructure definitions. It fits naturally into CI because the CLI validates files without requiring cloud-side deployment.

The Homebrew package is comparatively specialized, but the tool has a clearer package-manager role than many AWS side tools: install cfn-guard, run a rules file against templates, and fail the build if policy checks do not pass.

使われ方

Users write Guard rules, then run cfn-guard validate against templates or other structured data. AWS also documents related commands for testing rules and generating rule files from existing templates.

There is no single official user config or credential file location for cfn-guard; rules and data files are supplied explicitly as command inputs.

パッケージ好きにとっての重要性

cfn-guard is significant as a compact Rust-based policy CLI in the IaC packaging ecosystem. It competes in the same mental space as linters and policy engines, but its syntax and examples are tailored to CloudFormation users.

For package maintainers, the interesting bit is that cfn-guard is useful even without AWS credentials: it packages cleanly as an offline validator that can run in local pre-commit hooks, CI containers, and developer laptops.

タイムライン

  • 2020: Official cloudformation-guard GitHub repository was created.
  • 2020: Initial preview release v0.5.0-beta was published.
  • 2020s: Guard documentation expanded around validation, testing, and rule authoring workflows.
  • 2020s: The repository described validation beyond CloudFormation templates, including Kubernetes and Terraform JSON inputs.

Related projects

  • AWS CloudFormation is the primary template ecosystem Guard was built to validate.
  • CloudFormation Hooks and AWS Config rules are related governance mechanisms with different execution models.
  • cfn-lint is adjacent template validation tooling, while CloudFormation CLI supports extension authoring rather than policy checks.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cfn-guardcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版3.2.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新3.2.0

https://github.com/aws-cloudformation/cloudformation-guard

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cloudformation-guard
バージョン3.2.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cloudformation-guard
ホームページhttps://github.com/aws-cloudformation/cloudformation-guard
リポジトリhttps://github.com/aws-cloudformation/cloudformation-guard
上流ドキュメントhttps://docs.aws.amazon.com/cfn-guard/latest/ug/cfn-guard-validate.html
ライセンスApache-2.0
ソースアーカイブhttps://github.com/aws-cloudformation/cloudformation-guard/archive/refs/tags/3.2.0.tar.gz
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecloudformation-guard
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment