c7n-org
Cloud Custodian - Parallel Execution
What it is and what it does
c7n-org is a command-line tool that extends Cloud Custodian to orchestrate policy execution across multiple cloud accounts or subscriptions in parallel. Instead of running policies account-by-account, you define all your accounts in a YAML configuration file and c7n-org distributes policy execution across them, collecting results into a structured output directory. It supports AWS (via Organizations API), Azure, GCP, and OCI, and provides filtering by account name, ID, tags, regions, and policies.
The tool operates in several modes: `run` executes Custodian policies across accounts, `run-script` executes arbitrary scripts with cloud credentials injected, `report` generates CSV summaries from policy results, `validate` checks policies without cloud access, and `aws-accounts` auto-generates AWS account configuration from your Organizations API. Variables defined per-account are interpolated into policies at execution time, allowing account-specific customization without duplicating policy files.
Use it for:
- Enforce tagging standards across all AWS accounts in an organization in a single command.
- Run compliance policies (e.g., encryption, public access checks) on multiple Azure subscriptions in parallel.
- Generate a cross-account report of non-compliant resources and remediation actions taken.
- Validate policy syntax and variable expansion before deploying to production accounts.
- Execute cleanup scripts (e.g., terminate orphaned resources) across GCP projects with environment variables injected.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Runs Cloud Custodian policies in parallel across multiple AWS accounts, Azure subscriptions, GCP projects, or OCI tenancies from a single configuration file.
Yes. c7n-org is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real operational need for anyone managing multiple cloud accounts. The permissive Apache-2.0 license removes legal friction. Install it if you use Cloud Custodian and manage more than one account or subscription.
Install
c7n-org on PyPI
pip
pip install c7n-orguv
uv add c7n-orgpoetry
poetry add c7n-orgInstalling c7n-org
Before you install
Low install friction; depends only on c7n and click. Active maintenance with a release 78 days ago and continuous repository activity.
License in practice
Apache-2.0 permissive license; you can use, modify, and distribute this package freely in commercial and private projects without restriction.
Quickstart
pip install c7n-org
# Create accounts.yml with your account configuration
# Then run policies across accounts:
c7n-org run -c accounts.yml -s output -u policy.yml
Requires Python 3.9.2 or later (up to 3.x); cloud credentials (AWS IAM role, Azure credentials, GCP service account, or OCI config) must be configured before execution.
Verify before relying
- Whether parallel execution across regions is truly automatic by default or requires explicit configuration.
- Performance characteristics and typical execution time for large account sets.
- Whether the package handles credential rotation or session refresh during long-running multi-account operations.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0.0,>=3.9.2) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — c7n, click |
| Maintenance | actively maintained — 78 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,922,072/month — #1,810 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: c7n_org-0.6.50-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
c7nCloud Custodian is a rules engine that enforces…
permissive · top 5,000 on PyPI
c7n-azureAn Azure plugin for Cloud Custodian that…
permissive · top 15,000 on PyPI
c7n-mailerA message relay service that subscribes to SQS…
permissive · top 15,000 on PyPI
cloudsplainingCloudsplaining scans AWS IAM policies to…
permissive · top 5,000 on PyPI
custodianCustodian is a just-in-time job management…
permissive · top 15,000 on PyPI
cloudauthzCloudauthz obtains temporary credentials from…
permissive · top 15,000 on PyPI
pulumi-policyDefines and enforces policy rules on cloud…
permissive · top 15,000 on PyPI
policy-sentryPolicy Sentry generates least-privilege AWS IAM…
permissive · top 5,000 on PyPI
django-organizationsAdds multi-user group and account management to…
permissive · top 15,000 on PyPI
policyuniverseParses and analyzes AWS IAM and Resource…
permissive · top 15,000 on PyPI