pkg.soopen package index

brew / 排名 4818

使用 Homebrew, apt 安装 c7n

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install c7n

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install python-custodian-doc

Debian stable package indexes · python-custodian-doc · 来源: deb.debian.org

概览

软件包摘要

Rules engine for cloud security, cost optimization, and governance

命令和别名

  • custodian

历史

项目历史与用法

Cloud Custodian, packaged as c7n, is a policy-as-code rules engine for public-cloud governance, security, cost control, and compliance automation. It is a CNCF incubating project and one of the better-known cloud governance CLIs.

项目历史

Cloud Custodian began at Capital One as a way to replace many ad hoc cloud-management scripts with a shared policy engine. Its README describes the project as a rules engine for managing public cloud accounts and resources, using simple YAML policies composed from resource types, filters, actions, and execution modes.

The project expanded from an AWS-oriented governance tool into a multi-cloud framework supporting AWS, Azure, GCP, OCI, Tencent Cloud, Kubernetes, and related tools. Its documentation presents compliance-as-code as a central model: users validate, dry-run, and review policies before applying them to cloud resources.

The CNCF project page records Cloud Custodian's acceptance into CNCF on June 25, 2020 and its move to incubating maturity on September 14, 2022.

采用历史

Cloud Custodian's adoption story is unusually strong for a CLI governance tool because it grew out of large-scale production cloud use and then moved into CNCF stewardship. The README describes it as led by a community of hundreds of contributors and battle-tested in very large cloud environments.

The project is distributed as the c7n Python package family, a Docker image, and OS-package-manager formulas such as Homebrew. Its docs also cover companion tools such as c7n-org, c7n-mailer, c7n-left, c7n-kube, and c7n-logexporter, reflecting an ecosystem around core policy evaluation.

使用方式

Users write YAML policies, validate them, dry-run them, and run them with the custodian CLI. Policies can check resources for tag compliance, encryption, public exposure, age, cost waste, and other conditions, then take actions such as tagging, stopping, deleting, notifying, or invoking provider-native eventing.

Cloud Custodian can run as a local or CI job against existing fleets, or it can provision serverless/event-driven execution through cloud provider facilities such as AWS CloudWatch Events, AWS Config rules, Azure Event Grid, GCP Audit Log and Pub/Sub, and similar mechanisms.

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

For package nerds, c7n is significant because the tiny package name hides a broad cloud-governance platform. Installing a single CLI brings in a policy language, schema tooling, multi-cloud resource providers, serverless deployment paths, reporting, and a family of c7n-* companion packages.

It is also a canonical example of Python CLI tooling becoming infrastructure governance plumbing: a package-manager install turns YAML files into enforceable cloud controls.

时间线

  • 2015-12-21: The Sphinx documentation scaffold date appears in the docs source.
  • 2020-06-25: Cloud Custodian was accepted into CNCF.
  • 2022-09-14: Cloud Custodian moved to CNCF incubating maturity.
  • 2026: The project remains documented by CNCF as an incubating project.

Related projects

  • c7n-org helps run policies across many accounts or subscriptions.
  • c7n-mailer handles notifications for policy matches.
  • c7n-left applies Custodian-style checks to infrastructure-as-code assets.
  • c7n-kube extends the policy model into Kubernetes.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
custodian可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.9.51.0
管理器更新时间2026-06-15
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:c7n
版本0.9.51.0
软件包管理器Homebrew
主页https://cloudcustodian.io
仓库https://github.com/cloud-custodian/cloud-custodian
最后更新2026-06-15T10:20:11-04:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt92%

python-custodian-doc 2024.10.16-1

flexible just-in-time job management framework in Python (doc)

https://github.com/materialsproject/custodian

sudo apt install python-custodian-doc
  • Section: doc
  • Architecture: all
  • Source Package: custodian
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Custodian
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-custodian-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

python3-custodian 2024.10.16-1

flexible just-in-time job management framework in Python

https://github.com/materialsproject/custodian

sudo apt install python3-custodian
  • Section: python
  • Architecture: all
  • Source Package: custodian
  • 6 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Custodian
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-custodian from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation