Automic VaultAutomic Vault

brew

使用 Homebrew 安装 cfn-format

查看 cfn-format 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cfn-format

local Homebrew formula metadata

概览

软件包摘要

Command-line tool for formatting AWS CloudFormation templates

命令和别名

  • cfn-format

历史

项目历史与用法

cfn-format is the Homebrew-packaged command built from the AWS CloudFormation rain repository's `cmd/cfn-format`, focused on checking and formatting AWS CloudFormation templates.

项目历史

The upstream rain repository was created in 2019 and describes rain as a development workflow tool for AWS CloudFormation templates and stacks. Its README lists consistent formatting of CloudFormation templates as a key feature of `rain fmt`, including JSON/YAML conversion and YAML comment preservation.

采用历史

Homebrew packages `cfn-format` separately from rain, building the `./cmd/cfn-format` target from the rain source repository. This gives package users a narrower formatter binary without installing the broader rain workflow CLI name.

使用方式

The Homebrew formula test runs `cfn-format -v test.template` and expects a formatted-ok message. The rain README documents the broader formatter behavior under `rain fmt`.

为什么软件包爱好者会关心

cfn-format is package-nerd-interesting because it exposes one subcommand-sized slice of a larger CloudFormation workflow tool as its own formula, the kind of tiny binary split that helps scripts depend on exactly the formatter they need.

时间线

  • 2019: rain GitHub repository metadata records public repository creation.
  • 2019: GitHub release metadata records rain v0.1.0.
  • 2026: Homebrew formula builds cfn-format from rain v1.24.4.

Related projects

  • rain is the upstream project and broader CloudFormation workflow CLI.
  • cfn-flip is the older AWS Labs converter whose CLI usage now points users to `rain fmt`.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cfn-formatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.24.4
管理器更新时间2026-04-23
本地数据OK
上游当前
检测到的最新版本v1.24.4

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cfn-format
版本1.24.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cfn-format
主页https://github.com/aws-cloudformation/rain
仓库https://github.com/aws-cloudformation/rain
上游文档https://aws-cloudformation.github.io/rain/rain_fmt.html
许可证Apache-2.0
源码归档https://github.com/aws-cloudformation/rain/archive/refs/tags/v1.24.4.tar.gz
最后更新2026-04-23T17:45:52Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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