macOS
brew install cloudformation-guardlocal Homebrew formula metadata
brew
cloudformation-guard のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cloudformation-guardlocal Homebrew formula metadata
概要
Checks CloudFormation templates for compliance using a declarative syntax
履歴
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.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cfn-guard | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/aws-cloudformation/cloudformation-guard
インストールメタデータ
| パッケージキー | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cloudformation-guard |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.