Automic VaultAutomic Vault

brew

使用 Homebrew 安装 cfn-flip

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

概览

软件包摘要

Convert AWS CloudFormation templates between JSON and YAML formats

命令和别名

  • cfn-flip

历史

项目历史与用法

AWS CloudFormation Template Flip is an AWS Labs Python tool and library for converting CloudFormation templates between JSON and YAML while using short-form YAML intrinsic-function syntax where possible.

项目历史

The official README explains the name as an homage to the Unix `flip` utility and documents both the `cfn-flip` command and the `cfn_flip` Python package API. The repository metadata records the public repo creation in 2016.

采用历史

The project is packaged for Homebrew as `cfn-flip` and distributed as a Python package. Its README now deprecates CLI usage in favor of `rain fmt`, while explicitly saying the Python API may continue to be used.

使用方式

The documented CLI reads from stdin or files and converts JSON to YAML or YAML to JSON. The Python API exposes `flip`, `to_yaml`, and `to_json` for applications that need CloudFormation template serialization.

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

cfn-flip is significant because it solved a very specific packaging annoyance: CloudFormation users wanted a reliable converter that preserved AWS intrinsic-function syntax instead of treating templates as generic JSON/YAML.

时间线

  • 2016: GitHub repository metadata records public repository creation.
  • 2021: GitHub release metadata records cfn_flip 1.3.0.
  • Current README: CLI usage is deprecated in favor of `rain fmt`; package API remains available.

Related projects

  • rain is the recommended replacement for CLI formatting and conversion.
  • cf2tf acknowledges cfn-flip as a parser used when converting CloudFormation templates.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-11
管理器版本1.3.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/awslabs/aws-cfn-template-flip

安装元数据

软件包元数据

软件包键brew:cfn-flip
版本1.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cfn-flip
主页https://github.com/awslabs/aws-cfn-template-flip
仓库https://github.com/awslabs/aws-cfn-template-flip
上游文档https://aws-cloudformation.github.io/rain/rain_fmt.html
许可证Apache-2.0
源码归档https://files.pythonhosted.org/packages/ca/75/8eba0bb52a6c58e347bc4c839b249d9f42380de93ed12a14eba4355387b4/cfn_flip-1.3.0.tar.gz
依赖libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecfn-flip
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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