c7n-azure
Cloud Custodian - Azure Support
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, and solves a real problem—scaling governance across Azure. Install it if you need policy-driven compliance, cost control, or resource lifecycle automation. The 80 Azure SDK dependencies are a one-time cost reflecting genuine breadth of Azure service coverage.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure authentication (Azure CLI login or environment variables) and Python 3.9.2 or later.
- Low install friction with a pure-Python wheel.
- Active maintenance with a recent release 78 days ago and ongoing commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; you must retain license notices.
last release 2026-05-28 (78 days) · last repo commit 2026-08-14 · 6,043 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,450 downloads/mo, #13,863 on PyPI
Alternatives
Verify before relying
pip install c7n-azure
Create custodian.yml:
policies:
- name: tag-vms
resource: azure.vm
actions:
- type: tag
tag: Environment
value: Production
custodian run --output-dir=. custodian.yml- Whether the 80 Azure SDK dependencies are all required at runtime or some are optional based on resource types.
- Performance characteristics and scalability limits when running policies against large Azure environments.
- Whether policies can be scheduled automatically or if orchestration requires external tooling.
What it is and what it does
This package extends a policy engine to Azure, letting you write declarative YAML policies that specify which Azure resources to target, how to filter them, and what actions to take—tagging, deletion, remediation, or reporting. It integrates with Azure's management APIs to discover and act on resources at scale.
It's designed for teams managing compliance, cost control, and resource lifecycle across Azure subscriptions. Policies run on-demand, scanning resources and applying consistent governance rules without manual intervention. The plugin depends on 80 Azure SDK packages to access different Azure services.
Use it for
- Automatically tag all untagged virtual machines or storage accounts for cost allocation and compliance tracking.
- Enforce compliance by finding and reporting resources that violate security policies.
- Remediate drift by stopping unused compute resources or deleting orphaned disks to reduce cloud spend.
- Audit resource creation and modification across subscriptions and log policy execution for compliance reports.
- Enforce naming conventions and resource group organization across Azure deployments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, and solves a real problem—scaling governance across Azure. Install it if you need policy-driven compliance, cost control, or resource lifecycle automation. The 80 Azure SDK dependencies are a one-time cost reflecting genuine breadth of Azure service coverage.
Install
c7n-azure on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a recent release 78 days ago and ongoing commits. Requires 80 Azure SDK dependencies, which is substantial but reflects the breadth of Azure services it can govern.
Requires Azure authentication (Azure CLI login or environment variables) and Python 3.9.2 or later.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; you must retain license notices.
Quickstart
pip install c7n-azure
Create custodian.yml:
policies:
- name: tag-vms
resource: azure.vm
actions:
- type: tag
tag: Environment
value: Production
custodian run --output-dir=. custodian.yml
Verify before relying
- Whether the 80 Azure SDK dependencies are all required at runtime or some are optional based on resource types.
- Performance characteristics and scalability limits when running policies against large Azure environments.
- Whether policies can be scheduled automatically or if orchestration requires external tooling.
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 | 80 packagesadalapplicationinsightsapschedulerazure-cosmosazure-cosmosdb-tableazure-functionsazure-graphrbacazure-identityazure-keyvault-certificatesazure-keyvault-keysazure-keyvault-secretsazure-keyvaultazure-mgmt-advisorazure-mgmt-apimanagementazure-mgmt-appconfigurationazure-mgmt-applicationinsightsazure-mgmt-appplatformazure-mgmt-authorizationazure-mgmt-automationazure-mgmt-batchazure-mgmt-cdnazure-mgmt-cognitiveservicesazure-mgmt-computeazure-mgmt-containerinstanceazure-mgmt-containerregistryazure-mgmt-containerserviceazure-mgmt-cosmosdbazure-mgmt-costmanagementazure-mgmt-databricksazure-mgmt-datafactory |
| Maintenance | Actively maintained 78 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,450 / month, #13,863 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTopic :: System :: Distributed ComputingTopic :: System :: Systems Administration |
Evidence: c7n_azure-0.7.50-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure resource governance automation”
- c7n-azureAn Azure plugin for Cloud Custodian that automates policy-driven…
- azure-mgmt-advisorProvides Python bindings to interact with Azure Advisor, Microsoft's…
- c7n-orgRuns Cloud Custodian policies in parallel across multiple AWS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also c7n · c7n-org · c7n-mailer · pulumi-policy · custodian · azure-mgmt-core · pulumi-azure · agent_governance_toolkit · azure-mgmt-policyinsights · pulumi-azure-native