No entries match these filters. Clear filters
Cloud Custodian adds rename-tag action to connect-campaign resources for renaming existing tag keys︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄
└──▷ USE IT
Normalize tag keys across connect-campaign resources by renaming legacy Application or Bap tags to App , preferring Application when both exist.
policy.yml
copy
policies:
- name: rename-connect-campaign-tags
resource: aws.connect-campaign
filters:
- or:
- "tag:Application": present
- "tag:Bap": present
actions:
- type: rename-tag
old_keys:
- Application
- Bap
new_key: App
Rename existing tag keys on connect-campaign resources with the new rename-tag action, specifying one or more source keys via old_key or old_keys and a destination via new_key — when multiple old_keys are present on the same resource, the first listed key's value takes precedence.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet The rename-tag action requires the tag:TagResources and tag:UntagResources IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. permissions. Not checked yet
2 details in Everything
Cloud Custodian adds a bedrock-data-retention filter to enforce Bedrock data retention mode policies at the AWS account level︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄
└──▷ USE IT
Flag any AWS account where Bedrock data retention is set to none, so you can detect accounts that have explicitly disabled data retention.
yaml
copy
policies:
- name: bedrock-data-retention-not-zero
resource: account
filters:
- type: bedrock-data-retention
mode: none
Filter AWS account-level Bedrock data retention mode with the new bedrock-data-retention filter, which accepts valid modes default, none, aws_review, provider_data_share, and inherit (returned when mode has never been set); requires the bedrock:GetAccountDataRetention permission.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet
1 detail in Everything
Cloud Custodian 0.9.53 adds 23 new AWS/GCP/K8s K8s Shorthand for Kubernetes, the open-source container orchestration system originally from Google; cyber tools use it to deploy, scale, and manage containerized workloads across clusters. resource types, a --vars-file CLI flag, and new Azure ML/NSG NSG A Network Security Group is an Azure resource that filters inbound and outbound traffic to cloud resources using configurable allow/deny rules, giving cyber tools a policy layer to inspect or enforce network access control. actions.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.53.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.53.0
└──▷ TRY IT
Inject environment-specific variables (e.g. account IDs, tag values) into a policy at run time without editing the YAML file.
copy
$ custodian run --vars-file vars.json -s out policy.yml
Adds --vars-file parameter to custodian run to inject variables into policy expansion at runtime without modifying policy files.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet Adds aws.aiops-investigation-group resource type for managing AWS AIOps AIOps A practice that applies machine learning and data analytics to IT operations data—logs, metrics, events—so that cyber tools can automate anomaly detection, correlate alerts, and reduce noise at scale. investigation groups. Not checked yet Adds aws.apigwv2-route resource type with authorization type filtering for API Gateway v2 routes. Not checked yet Adds aws.event-connection resource type for EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. event connections. Not checked yet Adds aws.iot-certificate, aws.iot-ota-update, and aws.iot-policy resource types, expanding IoT IoT A collective label for internet-connected physical devices — sensors, cameras, routers, appliances — that tools target because they run embedded firmware with limited patching and broad network exposure. coverage. Not checked yet
+18 more
show less
Adds aws.qbusiness-application, aws.qbusiness-data-accessor, aws.qbusiness-data-source, aws.qbusiness-index, and aws.qbusiness-plugin resource types for Amazon Q Business. Not checked yet Adds aws.rds-global-cluster resource type for managing RDS global clusters. Not checked yet Adds aws.s3-table and aws.s3-table-bucket resource types for S3 Tables. Not checked yet Adds aws.s3files-access-point, aws.s3files-file-system, and aws.s3files-mount-target resource types for S3 file system resources. Not checked yet Adds aws.ssm-association, aws.ssm-maintenance-window, and aws.ssm-patch-baseline resource types with tagging support. Not checked yet Adds iot-logging filter to aws.account for account-level IoT logging inspection. Not checked yet Adds deployments filter to aws.bedrock-custom-model for filtering by model deployments. Not checked yet Adds consecutive-aws-backups filter to aws.dsql-cluster. Not checked yet Adds auto-tag-user, copy-related-tag, mark-for-op, remove-tag, and tag actions plus marked-for-op filter to aws.ops-item and aws.ssm-managed-instance. Not checked yet Adds gcp.vertex-ai-metadata-store-artifact resource type. Not checked yet Adds gcp.workspace-user resource type for Google Workspace MFA MFA Multi-factor authentication, requiring proof from different categories, such as a password and a hardware key, to sign in. It reduces reliance on a password alone. reporting. Not checked yet Adds audit mode support to gcp.dataproc-clusters. Not checked yet Adds k8s.custom-resource resource type for dynamic CRD CRD A Kubernetes extension that adds a new object type to the cluster, so a tool's configuration is stored, validated and versioned by Kubernetes itself rather than in a file beside it. discovery. Not checked yet Adds archive action to azure.machine-learning-data-container. Not checked yet Adds cancel action to azure.machine-learning-job. Not checked yet Adds remove-rules action to azure.networksecuritygroup. Not checked yet Extends Azure metric filter to support parent-scoped dimensions. Not checked yet Standardizes dynamic tagging support across AWS, Azure, and GCP, including default-value with no key pattern on Azure and GCP. Not checked yet
Adds --vars-file parameter to custodian run to inject variables into policy expansion at runtime without modifying policy files.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet Adds aws.aiops-investigation-group resource type for managing AWS AIOps AIOps A practice that applies machine learning and data analytics to IT operations data—logs, metrics, events—so that cyber tools can automate anomaly detection, correlate alerts, and reduce noise at scale. investigation groups. Not checked yet Adds aws.apigwv2-route resource type with authorization type filtering for API Gateway v2 routes. Not checked yet Adds aws.event-connection resource type for EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. event connections. Not checked yet Adds aws.iot-certificate, aws.iot-ota-update, and aws.iot-policy resource types, expanding IoT IoT A collective label for internet-connected physical devices — sensors, cameras, routers, appliances — that tools target because they run embedded firmware with limited patching and broad network exposure. coverage. Not checked yet
+9 more
show less
Adds aws.qbusiness-application, aws.qbusiness-data-accessor, aws.qbusiness-data-source, aws.qbusiness-index, and aws.qbusiness-plugin resource types for Amazon Q Business. Not checked yet Adds aws.rds-global-cluster resource type for managing RDS global clusters. Not checked yet Adds aws.s3-table and aws.s3-table-bucket resource types for S3 Tables. Not checked yet Adds aws.s3files-access-point, aws.s3files-file-system, and aws.s3files-mount-target resource types for S3 file system resources. Not checked yet Adds aws.ssm-association, aws.ssm-maintenance-window, and aws.ssm-patch-baseline resource types with tagging support. Not checked yet Adds iot-logging filter to aws.account for account-level IoT logging inspection. Not checked yet Adds gcp.vertex-ai-metadata-store-artifact resource type. Not checked yet Adds gcp.workspace-user resource type for Google Workspace MFA MFA Multi-factor authentication, requiring proof from different categories, such as a password and a hardware key, to sign in. It reduces reliance on a password alone. reporting. Not checked yet Adds k8s.custom-resource resource type for dynamic CRD CRD A Kubernetes extension that adds a new object type to the cluster, so a tool's configuration is stored, validated and versioned by Kubernetes itself rather than in a file beside it. discovery. Not checked yet
9 more in Everything
└──▷ BREAKING ON UPGRADE
! The rename-tag action is removed from aws.cloudwatch-dashboard.
Cloud Custodian 0.9.52 adds 40+ new AWS/Azure/GCP resources, filters, and actions across Bedrock, WAF WAF A reverse proxy that inspects HTTP/HTTPS traffic and blocks requests matching known attack patterns such as SQL injection or XSS, sitting between clients and a web application to filter malicious input before it reaches the server. , CloudFront, Vertex AI, and more.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.52.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.52.0
└──▷ USE IT
Delete idle VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. endpoints tagged for a specific service to reduce attack surface attack surface The exposed systems, interfaces and access points an attacker could try to use. It includes internet-facing services as well as identities, software and other reachable resources. and cut PrivateLink PrivateLink An AWS networking feature that exposes a service over a private endpoint inside a VPC, so traffic never traverses the public internet, giving cyber tools a way to integrate with cloud services without opening public routes. costs.
policy.yml
copy
policies:
- name: delete-unused-aoss-vpc-endpoints
resource: aws.vpc-endpoint
filters:
- type: value
key: ServiceName
op: contains
value: "aoss"
actions:
- type: delete
Flag KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. keys that have not been used recently so they can be reviewed and scheduled for deletion.
policy.yml
copy
policies:
- name: flag-dormant-kms-keys
resource: aws.kms-key
filters:
- type: last-usage
value: 90
op: greater-than
value_type: age
actions:
- type: mark-for-op
op: disable
days: 7
Enable DNSSEC DNSSEC A set of DNS extensions, maintained by the IETF, that add cryptographic signatures to DNS records so resolvers can verify responses have not been tampered with in transit. on all GCP managed zones that do not yet have it, enforcing DNS integrity at scale.
policy.yml
copy
policies:
- name: enforce-dnssec-on-managed-zones
resource: gcp.dns-managed-zone
filters:
- type: value
key: dnssecConfig.state
value: "on"
op: ne
actions:
- type: enable-dnssec
Adds delete action to aws.vpc-endpoint resources, enabling policy-driven removal of unwanted VPC endpoints. Not checked yet Adds last-usage filter to aws.kms-key resources for identifying dormant keys. Not checked yet Adds termination-policy filter to aws.emr clusters. Not checked yet Adds compute-optimizer filter to aws.ec2 resources for rightsizing recommendations. Not checked yet Adds mark-for-op support to aws.cfn (CloudFormation CloudFormation An AWS service that lets you describe and provision cloud infrastructure as declarative YAML or JSON templates, so a cyber tool can reproducibly spin up or tear down its entire AWS environment with a single API call. stack) resources. Not checked yet
+52 more
show less
Adds delete action for aws.waf and aws.waf-regional Classic Web ACLs ACLs An access control list, a set of rules allowing or denying operations for particular users, services or network addresses. It decides who can use a resource. . Not checked yet Adds master filter to aws.security-hub resource. Not checked yet Adds payment-cryptography-replication-regions filter on the aws.account resource. Not checked yet Adds cross-account filter to aws.payment-cryptography resources. Not checked yet Adds update-domain-config action to aws.elasticsearch (OpenSearch OpenSearch An open-source search and analytics engine, forked from Elasticsearch by AWS in 2021, that lets cyber tools store, query, and visualize large volumes of log or event data without licensing restrictions. ) domains. Not checked yet Adds service-details filter to aws.vpc-endpoint for cross-region endpoint inspection. Not checked yet Adds db-parameter filter and new aws.memorydb-parameter-group resource. Not checked yet Adds has-allow-all detection for list-form Action /Resource entries in aws.iam-policy. Not checked yet Adds members filter to aws.cleanrooms collaboration resource. Not checked yet Adds tagging, mark-for-op, and stop actions to aws.bedrock-model-invocation-job and aws.bedrock-inference-profile resources. Not checked yet Adds metrics filter to aws.bedrock-agent resources. Not checked yet Adds synthetic total-tokens metric to aws.bedrock-inference-profile. Not checked yet Adds new aws.bedrock-evaluation-job resource. Not checked yet Adds new aws.bedrock-mantle-project resource. Not checked yet Adds org-unit whitelisting to the cross-account filter across AWS resources. Not checked yet Adds aws.quicksight account subscription and custom permissions filters. Not checked yet Adds new aws.dsql (Aurora DSQL) resource support. Not checked yet Adds new aws.cloudfront-function and aws.cloudfront-keyvalue-store resources. Not checked yet Adds aws.cleanrooms and aws.cleanrooms-ml resources. Not checked yet Adds new aws.sagemaker-studio app, user-profile, and space resources. Not checked yet Adds new aws.vpc-lattice-rule resource. Not checked yet Adds Services and DefaultServiceQuotas to aws.service-quota resource via quota.py. Not checked yet Adds configurable server-side encryption for S3 policy log output. Not checked yet Adds resource lookup support in tag values for aws.tags actions, enabling dynamic tag propagation. Not checked yet Adds SNS SNS Amazon Simple Notification Service, a managed pub/sub messaging service from AWS that lets tools fan out alerts or events to multiple subscribers — queues, email, HTTP endpoints, or Lambda functions — without managing broker infrastructure. topic resolution directly by ARN in CloudTrail CloudTrail AWS service that records API calls and account activity across an AWS environment, giving cyber tools an audit log to detect anomalous or malicious actions. event mode. Not checked yet Adds azure.cognitiveservice-deployment resource with actions. Not checked yet Adds azure.ai-foundry-agent and azure.ai-foundry-application resources. Not checked yet Adds azure.machine-learning-job resource with an archive action. Not checked yet Adds azure.machine-learning-online-endpoint resource. Not checked yet Adds azure.machine-learning-model-version resource. Not checked yet Adds azure.machine-learning-data-container resource. Not checked yet Adds azure.budget resource. Not checked yet Adds azure.private-dns-zone and azure.private-dns-record-set resources. Not checked yet Adds matched-security-rule annotation to Azure NSG NSG A Network Security Group is an Azure resource that filters inbound and outbound traffic to cloud resources using configurable allow/deny rules, giving cyber tools a policy layer to inspect or enforce network access control. ingress/egress filters. Not checked yet Adds resource lookup support in tag values for Azure tags actions. Not checked yet Replaces SCM SCM Source Code Management: version-control systems (Git, SVN, etc.) that track changes to code over time, giving cyber tools reproducible builds, audit trails, and collaborative development workflows. basic auth with Entra ID Entra ID Microsoft's cloud-based identity and access management service, formerly Azure Active Directory, used by cyber tools to authenticate users and enforce access policies in Microsoft 365 and Azure environments. bearer token bearer token A credential that grants access to whoever presents it, without a separate proof of possession. Protecting the token matters because a stolen copy can be used by someone else. for azure.function-app operations. Not checked yet Adds monitor action to gcp.vertex-ai-endpoint resources. Not checked yet Adds gcp-audit mode support to gcp.api-key resources. Not checked yet Adds update action to gcp.dns-policy resources. Not checked yet Adds update action to gcp.bq-dataset resources. Not checked yet Adds enable-dnssec and set-dnssec-key-specs actions to gcp.dns-managed-zone. Not checked yet Adds new gcp.regional-commitment resource. Not checked yet Adds metrics filter to gcp.vertex-ai-endpoint. Not checked yet Adds new gcp.notebook-v2 resource with get and update-metadata actions. Not checked yet Adds new gcp.vertex-ai-custom-job resource. Not checked yet Adds new gcp.vertex-ai-dataset resource. Not checked yet Adds new gcp.vertex-ai-hyper-parameter-tuning-job resource. Not checked yet Adds new gcp.vertex-ai-model resource. Not checked yet Adds new gcp.vertex-ai-evaluation-run resource. Not checked yet Adds compute instance metadata support for gcp.instance resources. Not checked yet Extends gcp.metrics filter to honor missing-value: 0 correctly. Not checked yet Adds regional persistent disk support for GCP disk actions. Not checked yet
57 details in Everything
└──▷ BREAKING ON UPGRADE
! In aws.c7n-org accounts configuration, the Status field for retiring accounts is renamed to State .
Cloud Custodian 0.9.51.0 adds AI/ML resource coverage across all three clouds plus dozens of new filters and label actions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.51.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.51.0
└──▷ TRY IT
Audit Bedrock foundation models to identify any that lack guardrail configurations in your AWS environment.
copy
$ custodian run -s output policy-bedrock-fm.yml
# policy-bedrock-fm.yml:
policies:
- name: bedrock-foundation-model-audit
resource: aws.bedrock-foundation-model
Find unused RDS parameter groups to reduce configuration sprawl.
copy
$ custodian run -s output policy-rds-params.yml
# policy-rds-params.yml:
policies:
- name: unused-rds-param-groups
resource: aws.rds-param-group
filters:
- type: unused
Adds aws.bedrock-foundation-model resource for policy enforcement against Bedrock foundation models. Not checked yet Adds aws.bedrock-guardrail resource for managing and querying Bedrock guardrails. Not checked yet Adds metrics filter for aws.bedrock-inference-profile resources. Not checked yet Adds aws.devops-agent-space resource with tag support. Not checked yet Adds WAFv2 support for querying API attributes including redacted fields. Not checked yet
+21 more
show less
Adds EKS EKS Amazon's managed Kubernetes service, run by AWS, that handles control-plane provisioning so teams can deploy containerized workloads without operating the underlying cluster infrastructure themselves. cluster container insight metrics and addon filters. Not checked yet Adds ExportDescriptionFilter and ImportSummaryFilter for DynamoDB resources. Not checked yet Adds statistic override to the usage-metric filter for service-quota resources. Not checked yet Adds enable connection logs action for Application Load Balancers. Not checked yet Adds unused filter for rds-param-group and rds-cluster-param-group resources. Not checked yet Adds ReservationId support for EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. resource filtering. Not checked yet Adds RDS DB recommendations filter. Not checked yet Adds cross-account support for aws:PrincipalOrgPaths and whitelisted accounts in policy statements. Not checked yet Adds azure.ai-foundry-project and azure.ai-foundry-connection resources with associated actions. Not checked yet Adds Azure Blob Storage Azure Blob Storage Microsoft's object-storage service for unstructured data in Azure, offering scalable, cheap storage for files of any size; cyber tools use it to store logs, artifacts, or large datasets without managing infrastructure. as a source for value_from filters. Not checked yet Adds gcp.vertex-ai-publisher and gcp.vertex-ai-publisher-model resources (Vertex AI Model Garden). Not checked yet Adds gcp.firestore-database, gcp.firestore-backup-schedule, gcp.firestore-field, and gcp.firestore-index resources. Not checked yet Adds gcp.ncc-spoke resource for Network Connectivity Center spoke management. Not checked yet Adds gcp.redis-cluster resource. Not checked yet Adds delete action for GCP sqlbackuprun resources. Not checked yet Adds set-labels action for Cloud Run Cloud Run Google's managed container runtime that executes stateless workloads on demand, scaling to zero when idle, so tools can deploy without managing servers or paying for idle capacity. services and jobs. Not checked yet Adds label actions for GCP secret, armor-policy, dns-managed-zone, interconnect, interconnect-attachment, loadbalancer, loadbalancer-address, snapshot, pubsub, redis, and function resources. Not checked yet Adds delete and patch actions for GCP api-key resources. Not checked yet Adds BigQuery BigQuery A serverless, cloud-hosted analytical database from Google that runs SQL queries across massive datasets without managing infrastructure, giving cyber tools scalable storage and fast querying over large volumes of log or event data. recommender support for GCP. Not checked yet Adds snapshots filter for GCP disk resources. Not checked yet Adds validate command to c7n-org for validating policy files across org accounts. Not checked yet
26 details in Everything
Cloud Custodian 0.9.50 adds 12 new AWS resources, 4 Azure Entra ID Entra ID Microsoft's cloud-based identity and access management service, formerly Azure Active Directory, used by cyber tools to authenticate users and enforce access policies in Microsoft 365 and Azure environments. resources, 3 GCP Vertex AI resources, and dozens of new filters and actions across all providers.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.50.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.50.0
└──▷ TRY IT
Detect EKS EKS Amazon's managed Kubernetes service, run by AWS, that handles control-plane provisioning so teams can deploy containerized workloads without operating the underlying cluster infrastructure themselves. clusters where a Kubernetes version upgrade is available, so you can prioritize remediation before support ends.
copy
$ custodian run -s out policy.yml
# policy.yml:
policies:
- name: eks-upgrade-available
resource: aws.eks
filters:
- type: upgrade-available
Find IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. users with service-specific credentials (e.g., CodeCommit HTTPS HTTPS HTTP carried over an encrypted TLS connection. It protects traffic in transit and lets a browser verify the server's certificate. credentials) to audit or rotate them.
copy
$ custodian run -s out policy.yml
# policy.yml:
policies:
- name: iam-user-service-specific-creds
resource: aws.iam-user
filters:
- type: service-specific-credentials
Use the cross-account filter on OpenSearch OpenSearch An open-source search and analytics engine, forked from Elasticsearch by AWS in 2021, that lets cyber tools store, query, and visualize large volumes of log or event data without licensing restrictions. Ingestion pipelines to catch pipelines accessible from outside your AWS Organization.
copy
$ custodian run -s out policy.yml
# policy.yml:
policies:
- name: opensearch-ingestion-cross-account
resource: aws.opensearch-ingestion
filters:
- type: cross-account
Adds ability to normalize tag keys in filters across AWS, Azure, and GCP providers. Not checked yet Adds start-of-day option to the metrics filter across AWS, Azure, and GCP. Not checked yet New upgrade-available filter for AWS EKS to detect clusters with a newer Kubernetes version available. Not checked yet New upgrade-available filter for AWS ElasticSearch to detect domains eligible for upgrade. Not checked yet New aws.bedrock-inference-profile resource with delete action for managing Bedrock inference profiles. Not checked yet
+25 more
show less
New aws.bedrock-model-invocation-job resource for managing Bedrock model invocation jobs. Not checked yet New aws.directconnect-gateway and aws.directconnect-virtual-interface resources for Direct Connect management. Not checked yet New aws.ec2-instance-ami resource and image-metadata filter on aws.ec2 to query AMI metadata for running instances. Not checked yet New aws.event-api-destination resource for managing EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. API destinations. Not checked yet New aws.opensearch-reserved resource for managing OpenSearch Reserved Instances. Not checked yet New aws.savings-plan resource for querying and managing AWS Savings Plans. Not checked yet New aws.transfer-connector and aws.transfer-web-app resources for AWS Transfer Family. Not checked yet New aws.vpc-lattice-listener and aws.vpc-lattice-service-network-association resources for VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. Lattice management. Not checked yet New cross-account filter on aws.opensearch-ingestion to detect cross-account pipeline access. Not checked yet New VpcEndpointPolicySupported filter (service-details) on aws.vpc-endpoint to check endpoint policy support. Not checked yet New service-specific-credentials filter on aws.iam-user to audit IAM user service-specific credentials. Not checked yet New toggle-recording action on aws.config-recorder to enable or disable AWS Config recording. Not checked yet New network-location, security-group, and subnet filters on aws.transfer-server. Not checked yet Adds whitelist_patterns option to the cross-account filter to skip deleted IAM principals. Not checked yet Adds WAF WAF A reverse proxy that inspects HTTP/HTTPS traffic and blocks requests matching known attack patterns such as SQL injection or XSS, sitting between clients and a web application to filter malicious input before it reaches the server. filter support for AWS Managed Rule Groups. Not checked yet Adds ASG termination action for Auto Scaling Groups. Not checked yet Adds EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. gp3 modify IOPS action. Not checked yet New azure.entraid-authorization-policy, azure.entraid-conditional-access-policy, azure.entraid-named-location, and azure.entraid-security-defaults resources for Azure Entra ID. Not checked yet New storage-metrics filter on azure.storage for metric-based storage account policies. Not checked yet Adds tag actions to azure.subscription resource. Not checked yet New gcp.vertex-ai-batch-prediction-job, gcp.vertex-ai-endpoint, and gcp.vertex-ai-location resources for GCP Vertex AI. Not checked yet Adds set-label action to GCP buckets, BigQuery BigQuery A serverless, cloud-hosted analytical database from Google that runs SQL queries across massive datasets without managing infrastructure, giving cyber tools scalable storage and fast querying over large volumes of log or event data. , BigTable, and several additional GCP resources. Not checked yet Adds set-iam-policy action for gcp.bucket to manage bucket IAM policies. Not checked yet Enhances GCP iam-policy filter with value filter semantics and remove-bindings: matched option. Not checked yet Promotes aws-accounts script to a proper CLI command in c7n_org. Not checked yet
30 details in Everything
Cloud Custodian 0.9.49 adds AWS resolver-rule and Azure Entra ID Entra ID Microsoft's cloud-based identity and access management service, formerly Azure Active Directory, used by cyber tools to authenticate users and enforce access policies in Microsoft 365 and Azure environments. resources, ALB ALB AWS Application Load Balancer, a managed Layer 7 load balancer from Amazon that routes HTTP/HTTPS traffic by host, path, or header, giving tools flexible ingress control without managing their own proxy. listener-rule filter, and HCL HCL A configuration language created by HashiCorp for writing human-readable infrastructure definitions; cyber tools use it to let users declare environments and resources without writing full code. error failing for shift-left.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.49.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.49.0
└──▷ TRY IT
Inventory all Route 53 Resolver rules in your account to find shared or overly-permissive DNS forwarding rules.
copy
$ custodian run -s out resolver-rules.yml
# resolver-rules.yml:
policies:
- name: resolver-rule-inventory
resource: aws.resolver-rule
Adds new aws.resolver-rule resource for managing Route 53 Resolver rules in policies. Not checked yet Adds listener-rule filter to aws.app-elb for inspecting ALB routing rules. Not checked yet Adds new azure.entraid-group resource for managing Entra ID groups. Not checked yet Adds new azure.entraid-organization resource for managing Entra ID organization settings. Not checked yet Extends the aws.vpc dhcp-options filter with an amazon synthetic value for matching AWS-provided DHCP option sets. Not checked yet
+3 more
show less
Adds config-compliance filter to aws.comprehend-flywheel, aws.sagemaker-model-bias-job-definition, and aws.ses-dedicated-ip-pool resources. Not checked yet Adds json-diff filter to aws.app-elb-target-group, aws.artifact-domain, aws.comprehend-flywheel, aws.datasync-agent, aws.glue-database, aws.sagemaker-data-quality-job-definition, aws.sagemaker-model-bias-job-definition, aws.sagemaker-model-explainability-job-definition, aws.sagemaker-model-quality-job-definition, aws.ses-dedicated-ip-pool, and aws.transfer-server resources. Not checked yet Enables c7n-left (shift-left) to fail runs on HCL parse errors, surfacing misconfigured Terraform before policy evaluation. Not checked yet
8 details in Everything
Cloud Custodian 0.9.48 adds new AWS/Azure/GCP resources, KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. rotation filters, WAFv2 logging actions, and VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. Lattice support.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.48.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.48.0
└──▷ TRY IT
Detect KMS keys that have not been rotated within the last 365 days to enforce rotation compliance.
copy
$ custodian run -s out policy-kms-rotation.yml
# policy-kms-rotation.yml:
policies:
- name: kms-keys-stale-rotation
resource: aws.kms-key
filters:
- type: last-rotation
op: gt
days: 365
Enable WAFv2 logging to a Kinesis Firehose delivery stream for all WebACLs missing a logging configuration.
copy
$ custodian run -s out policy-wafv2-logging.yml
# policy-wafv2-logging.yml:
policies:
- name: wafv2-enable-logging
resource: aws.wafv2
filters:
- type: value
key: LoggingConfiguration
value: absent
actions:
- type: set-logging
log_destination: arn:aws:firehose:us-east-1:123456789012:deliverystream/aws-waf-logs-stream
Find Secrets Manager secrets whose current version attributes or replica status match governance criteria.
copy
$ custodian run -s out policy-secrets.yml
# policy-secrets.yml:
policies:
- name: secrets-check-replica
resource: aws.secrets-manager
filters:
- type: replica-attribute
key: Status
value: Failed
- name: secrets-check-current-version
resource: aws.secrets-manager
filters:
- type: current-version
key: VersionStages
value: AWSCURRENT
op: contains
New aws.iam-access-key resource enables policies targeting IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. access keys directly. Not checked yet New aws.lambda-event-source-mapping resource supports managing Lambda event source mappings. Not checked yet Adds three new AWS VPC Lattice resources: aws.vpc-lattice-service, aws.vpc-lattice-service-network, and aws.vpc-lattice-target-group. Not checked yet New ami-block-public-access filter on aws.account to detect accounts without AMI public-access blocking. Not checked yet New last-rotation filter on aws.kms-key to identify keys by their last rotation date. Not checked yet
+15 more
show less
New upgrade-available filter on aws.cache-cluster (ElastiCache) to find clusters eligible for engine upgrades. Not checked yet New upgrade-available and cross-account filters on aws.kafka for MSK cluster governance. Not checked yet New set-logging action on aws.wafv2 to configure WAF WAF A reverse proxy that inspects HTTP/HTTPS traffic and blocks requests matching known attack patterns such as SQL injection or XSS, sitting between clients and a web application to filter malicious input before it reaches the server. logging destinations. Not checked yet New delete action on aws.subnet for automated subnet removal. Not checked yet New delete-listener action on aws.app-elb for Application Load Balancer listener management. Not checked yet New current-version and replica-attribute filters on aws.secrets-manager for version- and replica-level secret inspection. Not checked yet New resolver-query-logging filter on aws.vpc to check VPC DNS query logging configuration. Not checked yet New analytics-association filter on aws.connect-instance for Amazon Connect analytics governance. Not checked yet New azure.entraid-user resource adds base Entra ID Entra ID Microsoft's cloud-based identity and access management service, formerly Azure Active Directory, used by cyber tools to authenticate users and enforce access policies in Microsoft 365 and Azure environments. support for user-level policies. Not checked yet New azure.elasticache-reserved resource for managing Azure Cache reserved capacity. Not checked yet New update action on azure.keyvault-key for modifying Key Vault key attributes. Not checked yet New gcp.certmanager-certificate resource for managing GCP Certificate Manager certificates. Not checked yet Adds EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. server-side query filtering to reduce data fetched during resource enumeration. Not checked yet Extends aws.fsx delete-file-system action to support additional FSx file system types. Not checked yet Extends aws.firehose delete action to handle suspended delivery streams. Not checked yet
20 details in Everything
└──▷ BREAKING ON UPGRADE
! The metrics filter is removed from aws.opswork-stack.! The metrics filter is removed from gcp.spanner-backup and gcp.spanner-database-instance.
Cloud Custodian 0.9.47 adds QuickSight, EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. Pipes, CloudWatch Synthetics, Azure Backup Vault support, and broad org-resource tagging actions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.47.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.47.0
└──▷ TRY IT
Find S3 Multi-Region Access Points exposed to external accounts and flag them for review.
copy
$ custodian run -s out policy-s3-mrap-xaccount.yml
# policy-s3-mrap-xaccount.yml
policies:
- name: s3-mrap-cross-account
resource: aws.s3-access-point-multi
filters:
- type: cross-account
Enforce tagging standards on all AWS Organization accounts by auto-tagging with the acting user.
copy
$ custodian run -s out policy-org-account-tag.yml
# policy-org-account-tag.yml
policies:
- name: org-account-auto-tag
resource: aws.org-account
filters:
- "tag:Owner": absent
actions:
- type: auto-tag-user
tag: Owner
Adds aws.quicksight-dashboard and aws.quicksight-datasource resource types for managing QuickSight assets. Not checked yet Adds aws.eventbridge-pipes resource type for governing EventBridge Pipes. Not checked yet Enables aws.cloudwatch-synthetics as a new manageable resource type. Not checked yet Adds cross-account filter to aws.s3-access-point-multi (S3 Multi-Region Access Points). Not checked yet Adds region-copy action to aws.rds-cluster-snapshot for copying RDS cluster snapshots across regions. Not checked yet
+6 more
show less
Adds metrics filter to aws.fsx covering all FSx file system types. Not checked yet Adds tagging actions (tag, remove-tag, rename-tag, auto-tag-user, copy-related-tag, mark-for-op) and marked-for-op filter to aws.org-account, aws.org-policy, and aws.org-unit. Not checked yet Adds azure.backup-vault resource type for Azure Backup Vault governance. Not checked yet Expands azure.machine-learning-workspace with full ARM ARM A family of RISC processor architectures designed by Arm Holdings and licensed to chip makers worldwide; tools target it to run natively on mobile, embedded, and increasingly server and desktop hardware. resource actions (tag, delete, lock, etc.) and filters (cost, diagnostic-settings, metric, policy-compliant, etc.). Not checked yet Updates AWS Lambda runtime support to include Python 3.10–3.13. Not checked yet Adds terraform._ resource type support. Not checked yet
11 details in Everything
Cloud Custodian 0.9.46 adds 10 new AWS Comprehend job resources, client-vpn-endpoint, VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. endpoint service config, KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. schedule-deletion, and more.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.46.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.46.0
└──▷ USE IT
Write a policy that targets KMS keys for scheduled deletion — using the new schedule-deletion action.
yaml
copy
# policy-kms-schedule-deletion.yml
policies:
- name: kms-schedule-deletion-disabled-keys
resource: aws.kms-key
filters:
- type: value
key: KeyState
value: Disabled
actions:
- type: schedule-deletion
pending_window_in_days: 14
Detect Comprehend PII PII Personally Identifiable Information — data that can identify a specific individual, such as names, email addresses, or SSNs. Cyber tools flag or redact it to limit exposure and meet privacy regulations. detection jobs that are not encrypting output with a compliant KMS key, useful for data-classification governance.
yaml
copy
# policy-comprehend-pii-kms.yml
policies:
- name: comprehend-pii-job-no-kms
resource: aws.comprehend-pii-entities-detection-job
filters:
- type: value
key: OutputDataConfig.KmsKeyId
value: absent
New aws.client-vpn-endpoint resource enables policies over Client VPN VPN A virtual private network, an encrypted tunnel between devices or networks. It carries traffic across another network as though the endpoints had a private connection. endpoints. Not checked yet New aws.vpc-endpoint-service-configuration resource enables policies over VPC endpoint service configurations. Not checked yet New set-security-token-service-preferences action on aws.account for managing STS STS AWS Security Token Service, an Amazon Web Services API that issues short-lived credentials for IAM roles, letting cyber tools authenticate to AWS without storing long-term secrets. regional endpoint settings. Not checked yet New schedule-deletion action on aws.kms-key for scheduling KMS key deletion via policy. Not checked yet New pipeline-config filter on aws.opensearch-ingestion for inspecting pipeline configuration. Not checked yet
+7 more
show less
New delete action on aws.quicksight-user for removing QuickSight users via policy. Not checked yet Adds 9 new AWS Comprehend job resources: comprehend-document-classification-job, comprehend-dominant-language-detection-job, comprehend-entities-detection-job, comprehend-events-detection-job, comprehend-key-phrases-detection-job, comprehend-pii-entities-detection-job, comprehend-sentiment-detection-job, comprehend-targeted-sentiment-detection-job, and comprehend-topics-detection-job. Not checked yet New kms-key filter on aws.comprehend-document-classifier, aws.comprehend-entity-recognizer, and aws.comprehend-flywheel for encryption compliance checks. Not checked yet New file-services filter on azure.storage for inspecting Azure Storage file service settings. Not checked yet New config-compliance and json-diff filters on aws.iam-oidc-provider; json-diff filter also added to aws.identity-pool and aws.memorydb-subnet-group. Not checked yet Cross-account filter now supports additional condition keys for finer-grained policy matching. Not checked yet New policy-statement filter supports more partial match scenarios. Not checked yet
12 details in Everything
Cloud Custodian 0.9.45 adds Comprehend, Keyspaces, Lex v2, and RAM RAM Working memory that holds programs and data while a computer is running. Its contents usually disappear when power is removed. resource support plus new API Gateway v2 actions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.45.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.45.0
└──▷ TRY IT
Identify Comprehend endpoints not tagged with an owner to enforce tagging compliance.
copy
$ custodian run -s out policy.yml
# policy.yml
policies:
- name: comprehend-endpoint-missing-owner-tag
resource: aws.comprehend-endpoint
filters:
- "tag:Owner": absent
Delete stale API Gateway v2 stages in a non-production environment to reduce attack surface attack surface The exposed systems, interfaces and access points an attacker could try to use. It includes internet-facing services as well as identities, software and other reachable resources. .
copy
$ custodian run -s out policy.yml
# policy.yml
policies:
- name: apigwv2-stage-delete-nonprod
resource: aws.apigwv2-stage
filters:
- "tag:Env": nonprod
actions:
- delete
Find ElastiCache clusters not in your approved VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. to catch misconfigured network placement.
copy
$ custodian run -s out policy.yml
# policy.yml
policies:
- name: cache-cluster-wrong-vpc
resource: aws.cache-cluster
filters:
- type: vpc
key: VpcId
value: vpc-approved123
op: not-equal
Adds four new AWS Comprehend resource types: aws.comprehend-document-classifier, aws.comprehend-endpoint, aws.comprehend-entity-recognizer, and aws.comprehend-flywheel. Not checked yet Adds aws.keyspace and aws.keyspace-table resources for managing Amazon Keyspaces (Cassandra-compatible). Not checked yet Adds aws.lexv2-bot-alias resource with cross-account filter and delete action for Lex v2 bot aliases. Not checked yet Adds aws.resource-share-self and aws.resource-share-other resources for managing AWS RAM AWS RAM AWS Resource Access Manager is an Amazon service that lets an AWS account share resources such as subnets or Transit Gateways with other accounts or AWS Organizations, removing the need to duplicate infrastructure across account boundaries. resource shares. Not checked yet Adds delete and update actions to aws.apigwv2 (API Gateway v2 APIs) and aws.apigwv2-stage resources. Not checked yet
+6 more
show less
Adds vpc filter to aws.cache-cluster via ElastiCache server-side query support. Not checked yet Adds topic filter to aws.rds-subscription for filtering RDS event subscriptions by SNS SNS Amazon Simple Notification Service, a managed pub/sub messaging service from AWS that lets tools fan out alerts or events to multiple subscribers — queues, email, HTTP endpoints, or Lambda functions — without managing broker infrastructure. topic. Not checked yet Adds db-parameter filter to aws.timestream-influxdb resources. Not checked yet Adds return_allowed configuration option to the cross-account filter, returning matching allowed statements. Not checked yet Adds support for extended statistics keys in the metrics filter. Not checked yet Adds cam-policy-used filter support for finding unused CAM policies in Tencent Cloud via boolean flag. Not checked yet
11 details in Everything
Cloud Custodian 0.9.44.0 adds 20+ new AWS/Azure resources, WAFv2 rule inspection, EFS cross-account detection, and Shield Protection tagging.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.44.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.44.0
└──▷ TRY IT
Detect WAFv2 Web ACLs ACLs An access control list, a set of rules allowing or denying operations for particular users, services or network addresses. It decides who can use a resource. missing a rate-based rule, useful for enforcing DDoS DDoS Distributed Denial of Service: an attack that floods a target system with traffic from many sources simultaneously, exhausting its resources so legitimate requests cannot be served. baseline controls.
copy
$ custodian run -s out policy-waf.yml
# policy-waf.yml:
policies:
- name: wafv2-missing-rate-limit
resource: aws.wafv2
filters:
- type: web-acl-rules
match: none
attrs:
- type: RateBasedStatement
Find EFS file systems with cross-account access granted, then remove overly permissive statements.
copy
$ custodian run -s out efs-cross-account.yml
# efs-cross-account.yml:
policies:
- name: efs-cross-account-remediate
resource: aws.efs
filters:
- type: cross-account
actions:
- type: remove-statements
statement_ids: matched
Tag Shield Protection resources with the user who created them, enabling ownership tracking for DDoS-protected resources.
copy
$ custodian run -s out shield-autotag.yml
# shield-autotag.yml:
policies:
- name: shield-protection-auto-tag-owner
resource: aws.shield-protection
filters:
- "tag:Owner": absent
actions:
- type: auto-tag-user
tag: Owner
Adds aws.rds-db-shard-group resource for managing Aurora Limitless shard groups. Not checked yet Adds aws.codedeploy-config resource and config filter on aws.codedeploy-group for CodeDeploy deployment configuration policies. Not checked yet Adds aws.destination and aws.delivery-destination resources for CloudWatch Logs cross-account log routing. Not checked yet Adds aws.payment-cryptography-key resource with tagging and delete actions. Not checked yet Adds aws.ses-dedicated-ip-pool, aws.ses-configuration-set-v2, and aws.ses-ingress-endpoint resources for SESv2 management. Not checked yet
+26 more
show less
Adds aws.timestream-influxdb and aws.timestream-influxdb-cluster resources. Not checked yet Adds aws.fsx-volume resource and volume/vpc filters on aws.fsx. Not checked yet Adds new Athena resources: aws.athena-capacity-reservation, aws.athena-data-catalog, and aws.athena-work-group. Not checked yet Adds aws.cloudhsm-backup, aws.kafka-config, aws.kendra, aws.lexv2-bot, and aws.quicksight-account resources. Not checked yet Adds web-acl-rules filter to aws.wafv2 for inspecting WAF WAF A reverse proxy that inspects HTTP/HTTPS traffic and blocks requests matching known attack patterns such as SQL injection or XSS, sitting between clients and a web application to filter malicious input before it reaches the server. rule configurations. Not checked yet Adds cross-account filter and remove-statements action to aws.efs for EFS policy governance. Not checked yet Adds cross-account filter and remove-policies action to aws.ses-email-identity. Not checked yet Adds topic filter to aws.cfn for filtering stacks by SNS SNS Amazon Simple Notification Service, a managed pub/sub messaging service from AWS that lets tools fan out alerts or events to multiple subscribers — queues, email, HTTP endpoints, or Lambda functions — without managing broker infrastructure. notification topic. Not checked yet Adds is-log-forwarding filter to aws.directory for checking Directory Service log forwarding status. Not checked yet Adds kms-key filter to aws.dms-endpoint. Not checked yet Adds used-by filter to aws.elastic-ip. Not checked yet Adds delete action to aws.iam-saml-provider for removing SAML SAML A standard for passing signed identity assertions between a sign-in provider and an application. It lets a user sign in through their organization's identity provider. identity providers identity providers A service that authenticates users and supplies identity information to other applications. It is the sign-in authority behind many single sign-on systems. . Not checked yet Adds tagging actions (tag, remove-tag, mark-for-op, auto-tag-user, copy-related-tag) and finding/marked-for-op filters to aws.shield-protection. Not checked yet Adds configuration filter to aws.swf-domain. Not checked yet Adds directory filter to aws.workspaces-directory for filtering by Active Directory Active Directory Microsoft's directory service for Windows networks that centralises authentication and authorisation; cyber tools target or integrate with it because it controls identity and access across most enterprise environments. . Not checked yet Adds ECR ECR Amazon Elastic Container Registry, AWS's managed service for storing and distributing Docker and OCI container images, giving cyber tools a private, IAM-gated registry without self-hosting infrastructure. lifecycle policy support for tagPatternList field in set-lifecycle action. Not checked yet Adds server-side query support to aws.ecr-image for more efficient image policy evaluation. Not checked yet Adds aws.athena-data-catalog tagging support. Not checked yet Removes the 5-security-group maximum limit check in the modify-security-groups action. Not checked yet Adds azure.postgresql-flexibleserver resource. Not checked yet Adds modify-disk-type action to azure.disk for changing disk SKUs. Not checked yet Adds jit-policy-port filter to azure.vm for Just-In-Time access policy inspection. Not checked yet Adds management-policy-rules filter to azure.storage. Not checked yet Adds webapp filter to azure.appserviceplan. Not checked yet Adds new TencentCloud resources: tencentcloud.dns-record, tencentcloud.eip, and tencentcloud.subnet. Not checked yet Adds s3 set-inventory schema support for additional optional fields. Not checked yet
31 details in Everything
└──▷ BREAKING ON UPGRADE
! aws.log-destination resource has been removed from the schema.
Cloud Custodian 0.9.43 adds 11 new AWS resource types, cross-account EFS/SES filters, Shield tagging, and new Azure/Tencent resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.43.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.43.0
└──▷ TRY IT
Detect EFS file systems with cross-account access and remove the offending policy statements to enforce least-privilege.
copy
$ custodian run -s out policy-efs-cross-account.yml
# policy-efs-cross-account.yml
policies:
- name: efs-remove-cross-account-access
resource: aws.efs
filters:
- type: cross-account
actions:
- type: remove-statements
statements:
- matched
Tag all AWS Shield protections with the responsible owner and mark untagged ones for follow-up.
copy
$ custodian run -s out policy-shield-tag.yml
# policy-shield-tag.yml
policies:
- name: shield-auto-tag-creator
resource: aws.shield-protection
filters:
- "tag:Owner": absent
actions:
- type: auto-tag-user
tag: Owner
Adds aws.lexv2-bot resource for managing Lex V2 bots. Not checked yet Adds aws.timestream-influxdb resource with network-location filter for Timestream InfluxDB instances. Not checked yet Adds aws.athena-work-group, aws.athena-capacity-reservation, and aws.athena-data-catalog resources for Athena governance. Not checked yet Adds aws.cloudhsm-backup resource for CloudHSM backup management. Not checked yet Adds aws.kafka-config resource for MSK cluster configuration. Not checked yet
+22 more
show less
Adds aws.kendra resource for Amazon Kendra index management. Not checked yet Adds aws.quicksight-account resource for QuickSight account settings. Not checked yet Adds aws.ses-configuration-set-v2 and aws.ses-ingress-endpoint resources for SESv2 governance. Not checked yet Adds cross-account filter and remove-statements action to aws.efs for detecting and remediating cross-account EFS access. Not checked yet Adds cross-account filter and remove-policies action to aws.ses-email-identity. Not checked yet Adds full tagging support to aws.shield-protection (tag, remove-tag, auto-tag-user, copy-related-tag, mark-for-op, marked-for-op) plus finding filter. Not checked yet Adds used-by filter to aws.elastic-ip to identify in-use Elastic IPs. Not checked yet Adds template filter to aws.cfn for searching CloudFormation CloudFormation An AWS service that lets you describe and provision cloud infrastructure as declarative YAML or JSON templates, so a cyber tool can reproducibly spin up or tear down its entire AWS environment with a single API call. stack templates. Not checked yet Adds is-log-forwarding filter to aws.directory for Directory Service log subscription checks. Not checked yet Adds kms-key filter to aws.dms-endpoint to audit DMS endpoint encryption. Not checked yet Adds configuration filter to aws.swf-domain for SWF domain configuration inspection. Not checked yet Adds has-statement partial-match support via policystatement filter. Not checked yet Adds support for non-default EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. event buses in aws.event-rule and event targets. Not checked yet Adds azure.afd-endpoint and azure.afd-custom-domain resources for Azure Front Door management. Not checked yet Adds webapp filter to azure.appserviceplan to find plans hosting specific web apps. Not checked yet Adds management-policy-rules filter to azure.storage for lifecycle rule inspection. Not checked yet Adds jit-policy-port filter to azure.vm for Just-In-Time access policy auditing. Not checked yet Adds ability to set minimum TLS version on Azure storage buckets. Not checked yet Adds support for custom namespaces in Azure metrics filter. Not checked yet Adds tencentcloud.eip, tencentcloud.dns-record, and tencentcloud.subnet resources. Not checked yet Adds --workspace option to c7n-left for selecting a Terraform workspace during shift-left policy evaluation. Not checked yet Adds discard_local_ssd parameter support to GCP instance stop action. Not checked yet
27 details in Everything
Cloud Custodian 0.9.42 adds Global Accelerator, ElastiCache User, Step Functions Activities, and dozens of new filters across AWS and Azure resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.42.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.42.0
└──▷ TRY IT
Detect DynamoDB tables with cross-account access or overly permissive resource policies in a single policy sweep.
copy
$ custodian run --output-dir=out policy-dynamodb-cross-account.yml
Audit AWS account-level EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. instance metadata defaults (e.g., IMDSv2 enforcement) and enforce compliant defaults.
copy
$ custodian run --output-dir=out - <<'EOF'
policies:
- name: enforce-imds-defaults
resource: aws.account
filters:
- type: ec2-metadata-defaults
key: HttpTokens
value: optional
actions:
- type: set-ec2-metadata-defaults
HttpTokens: required
EOF
Find Lambda functions with public function URLs that are not restricted to IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. authentication.
copy
$ custodian run --output-dir=out - <<'EOF'
policies:
- name: lambda-public-url-no-iam
resource: aws.lambda
filters:
- type: url-config
key: AuthType
value: NONE
EOF
Adds aws.globalaccelerator resource with attribute filter support for managing AWS Global Accelerator endpoints. Not checked yet Adds aws.elasticache-user resource for managing ElastiCache users. Not checked yet Adds aws.log-destination resource for managing CloudWatch Logs destinations. Not checked yet Adds aws.sfn-activity resource with tagging and encryption support for Step Functions activities. Not checked yet Adds azure.app-service-environment resource for managing Azure App Service Environments. Not checked yet
+11 more
show less
Adds ec2-metadata-defaults filter and set-ec2-metadata-defaults action on aws.account to audit and enforce EC2 instance metadata defaults. Not checked yet Adds cross-account and has-statement filters to aws.dynamodb-table for detecting cross-account access and IAM policy statements. Not checked yet Adds cross-account filter to aws.kinesis for detecting Kinesis streams exposed to other accounts. Not checked yet Adds has-statement filter to aws.rest-api for auditing API Gateway resource policies. Not checked yet Adds kms-key filter to aws.event-bus for checking EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. bus encryption. Not checked yet Adds kms-key filter to aws.step-machine for auditing Step Functions state machine encryption. Not checked yet Adds url-config filter to aws.lambda for inspecting Lambda function URL configurations. Not checked yet Adds ldap, settings, and trust filters to aws.directory for auditing Directory Service LDAP LDAP A protocol for querying and modifying directory services, standardized under RFC 4511, commonly used to look up users, groups, and attributes in corporate identity stores like Active Directory. settings and trust relationships. Not checked yet Adds delete action to aws.ses-configuration-set for removing SES configuration sets. Not checked yet Adds terraform._ resource support for Terraform shift-left policy evaluation. Not checked yet Adds c7n-org run-script shell passthrough improvement using shlex parsing for more robust argument handling. Not checked yet
16 details in Everything
Cloud Custodian 0.9.41 adds 5 new AWS resources, Azure snapshots, OpenSearch OpenSearch An open-source search and analytics engine, forked from Elasticsearch by AWS in 2021, that lets cyber tools store, query, and visualize large volumes of log or event data without licensing restrictions. Ingestion, MemoryDB users/ACLs ACLs An access control list, a set of rules allowing or denying operations for particular users, services or network addresses. It decides who can use a resource. , and a shift-left validate command.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.41.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.41.0
└──▷ USE IT
Filter AWS Config recorders by retention period to detect non-compliant retention configurations.
yaml
copy
# policy.yml
policies:
- name: config-recorder-retention-check
resource: aws.config-recorder
filters:
- type: retention
key: retentionPeriodInDays
op: lt
value: 365
Adds aws.opensearch-ingestion resource with filters and actions for managing OpenSearch Ingestion pipelines. Not checked yet Adds aws.origin-access-control resource for managing CloudFront origin access controls. Not checked yet Adds aws.memorydb-user, aws.memorydb-acl, and aws.memorydb-snapshot resources (snapshot includes tag support and delete action). Not checked yet Adds retention filter to aws.config-recorder for querying Config recorder retention settings. Not checked yet Adds browser-policy, subnet, user-access-logging, and user-settings filters to aws.workspaces-web. Not checked yet
+7 more
show less
Adds detail spec to aws.storage-gateway, unlocking tag management actions (tag, remove-tag, rename-tag, copy-related-tag, auto-tag-user, mark-for-op) and marked-for-op filter. Not checked yet Adds azure.snapshot resource with a delete action. Not checked yet Restores Terraform as a supported provider in core, enabling schema validation for shift-left (terraform._ resource). Not checked yet Adds from_json JMESPath function to the value filter for parsing embedded JSON strings during filtering. Not checked yet Adds validate command to c7n-left (shift-left CLI) for policy validation against IaC IaC Infrastructure as Code: the practice of defining and provisioning compute infrastructure through machine-readable config files rather than manual processes, giving cyber tools repeatable, version-controlled environment setup. . Not checked yet Extends c7n-left traverse filter to support boolean blocks in attributes. Not checked yet De-duplicates matched egress/ingress rules in aws.security-group results. Not checked yet
12 details in Everything
Cloud Custodian 0.9.39 adds 8 new AWS resource types, EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. SSM inventory filter, S3 object lock filter, and more.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.39.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.39.0
New aws.codebuild-credential resource for managing CodeBuild source credentials. Not checked yet New aws.servicediscovery-namespace resource with instance filter for AWS Service Discovery namespaces. Not checked yet New AWS Network Manager resources: aws.networkmanager-core, aws.networkmanager-global, aws.networkmanager-site, aws.networkmanager-device, and aws.networkmanager-link. Not checked yet New aws.memorydb-subnet-group resource, plus subnet, kms-key, security-group, and network-location filters on aws.memorydb. Not checked yet New ssm-inventory filter on aws.ec2 to query EC2 instances by SSM inventory and installed packages. Not checked yet
+7 more
show less
New lock-configuration filter on aws.s3 to check S3 object lock settings. Not checked yet New db-parameter filter on aws.rds-param-group and aws.rds-cluster-param-group for inspecting RDS parameter group values. Not checked yet New content and marked-for-op filters plus tagging actions (tag, remove-tag, rename-tag, copy-related-tag, auto-tag-user, mark-for-op) on aws.ssm-document. Not checked yet New App Mesh filters: route, router, and service on aws.appmesh-mesh; gateway-route on aws.appmesh-virtualgateway. Not checked yet Adds values_from support for DynamoDB as a data source in policy filters. Not checked yet New time-range filter on gcp.api-key to find API keys by creation or update time. Not checked yet ECS ECS Elastic Common Schema, an open specification maintained by Elastic that defines a standard field naming convention for log and event data, letting cyber tools share and correlate records without per-source field mapping. resources now include configuration information in policy evaluation. Not checked yet
12 details in Everything
Cloud Custodian 0.9.38 adds aws.memorydb resource and delete action for gcp.bq-dataset, plus EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. snapshot description enhancement.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.38.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.38.0
└──▷ USE IT
Define a policy to delete BigQuery BigQuery A serverless, cloud-hosted analytical database from Google that runs SQL queries across massive datasets without managing infrastructure, giving cyber tools scalable storage and fast querying over large volumes of log or event data. datasets that are older than 30 days in GCP.
text
copy
policies:
- name: delete-old-bq-datasets
resource: gcp.bq-dataset
filters:
- type: value
key: creationTimestamp
op: ge
value_type: age
value: 30
actions:
- type: delete
Adds aws.memorydb resource support for MemoryDB clusters, enabling policy writing for this AWS service Not checked yet Adds delete action to gcp.bq-dataset resource, allowing datasets to be removed via policies Not checked yet Enhances the snapshot action on aws.ec2.snapshot resources to include the associated instance name in the snapshot description Not checked yet
3 details in Everything
Cloud Custodian 0.9.37.0 adds six new SageMaker resource types, EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. scheduler mode, and Timestream filters
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.37.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.37.0
aws.timestream-database now supports the kms-key filter for restricting policies to specific KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. keys Not checked yet aws.timestream-table gains the consecutive-aws-backups filter to detect tables lacking continuous backup coverage Not checked yet Policy Lambda execution mode now accepts eventbridge-scheduler via a new configuration option Not checked yet CLI supports session policy injection for IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. -scoped execution context Not checked yet New resource types: aws.sagemaker-compilation-job, aws.sagemaker-data-quality-job-definition, aws.sagemaker-model-bias-job-definition, aws.sagemaker-model-explainability-job-definition, aws.sagemaker-model-quality-job-definition, and aws.sagemaker-processing-job Not checked yet
5 details in Everything
Cloud Custodian 0.9.36.0 adds new resource types (SageMaker, Workspaces, Stream Job), filters, and actions for AWS and Azure policy management
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.36.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.36.0
Adds aws.workspaces-bundle resource support for managing Amazon Workspaces bundles. Not checked yet Adds aws.appmesh-virtualnode resource support for App Mesh mesh policies. Not checked yet Adds aws.sagemaker-auto-ml-job, aws.sagemaker-cluster, aws.sagemaker-domain, and aws.sagemaker-hyperparameter-tuning-job resource types for SageMaker automation policies. Not checked yet Adds azure.stream-job resource support for Azure Stream Analytics job management. Not checked yet Adds the snapshots filter to aws.ebs resources to evaluate associated EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. snapshots in policies. Not checked yet
+7 more
show less
Adds logging-config filter and update-logging-config, delete, update-delete-protection actions to aws.firewall resources. Not checked yet Adds kms-key filter to aws.opensearch-serverless resources for KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. -enabled resource detection. Not checked yet Adds json-diff filter to multiple AWS resources (app-flow, appstream-stack, bedrock-agent, catalog-product, config-recorder, dms-endpoint, dms-instance, event-rule, graphql-api, s3-access-point, s3-access-point-multi, sagemaker-endpoint-config, sagemaker-notebook, scaling-policy, ses-configuration-set) for comparing resource state changes. Not checked yet Adds compute-instances filter to azure.machine-learning-workspace resources. Not checked yet Adds certificates filter to azure.api-management resources. Not checked yet Adds firewall-bypass, security-alert-policies, and server-configurations filters to azure.postgresql-server resources. Not checked yet Allows variable references to pass type validation in core policy processing. Not checked yet
12 details in Everything
└──▷ BREAKING ON UPGRADE
! aws.appmesh-virtual-gateway resource type has been removed; use aws.appmesh-virtualgateway instead.
New AWS Bedrock resource types and AppMesh support, plus Azure SQL Server audit filters
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.35.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.35.0
└──▷ USE IT
Filter Azure SQL Servers that have auditing policies disabled or misconfigured
text
copy
c7n run -s output/ azure-sql-audit.yaml --dryrun
aws.appmesh-mesh and aws.appmesh-virtual-gateway resources added for AppMesh management Not checked yet New aws.bedrock-agent, aws.bedrock-customization-job, and aws.bedrock-knowledge-base resource types added Not checked yet aws.s3-storage-lens resource added to manage Storage Lens configurations Not checked yet Azure sql-server resource gains auditing-policies, failover-group, and security-alert-policies filters Not checked yet New is-composite-child filter on aws.alarm resources Not checked yet
5 details in Everything
└──▷ BREAKING ON UPGRADE
! json-diff filter removed from aws.rds-proxy resource
Cloud Custodian 0.9.34.0 adds aws.org-account, aws.org-policy, and aws.s3-directory resources; new filters and actions for cost optimization and tagging.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.34.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.34.0
└──▷ TRY IT
Query member accounts in your AWS Organization using the new org-account resource
copy
$ c7n-org run -s output/ -c ./config.yml policy.yaml
# Inside policy.yaml for aws.org-account:
resources: aws.org-account
Apply cost optimization filters to identify underutilized EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. instances or ASGs
yaml
copy
# Inside policy.yaml for aws.ec2:
filters:
- type: cost-optimization
enabled: true
Use the new disassociate action to release an Elastic IP via policy
yaml
copy
# Inside policy.yaml for aws.elastic-ip:
policy:
resources: aws.elastic-ip
actions:
- disassociate
Adds aws.org-account resource type to query AWS Organization member accounts Not checked yet Adds aws.org-policy resource type to query policies attached to Organizational Units or accounts Not checked yet Adds aws.org-unit resource type to query Organizational Units within an organization Not checked yet Adds aws.s3-directory resource type to manage S3 Express One Zone directories Not checked yet Adds azure.synapse resource type for Azure Synapse Analytics workspaces Not checked yet
+8 more
show less
Adds cost-optimization filter to aws.asg, aws.ebs, aws.ec2, aws.ecs-service, and aws.lambda resources Not checked yet Adds json-diff filter to aws.appstream-fleet, aws.kms, aws.ssm-document, and aws.user-pool resources Not checked yet Adds disassociate action to aws.elastic-ip resource Not checked yet Adds detach action to aws.eni resource Not checked yet Adds tagging actions (auto-tag-user, copy-related-tag, remove-tag, rename-tag, tag) and marked-for-op filter to aws.batch-compute, aws.batch-definition, and aws.batch-queue resources Not checked yet Adds update action to aws.batch-queue resource Not checked yet Adds in operator support to the network-location filter for VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. resources Not checked yet Adds python3.12 runtime support for lambda policies, defaulting to python3.11 Not checked yet
13 details in Everything
Cloud Custodian 0.9.33.0 adds support for AWS Bedrock, OpenSearch OpenSearch An open-source search and analytics engine, forked from Elasticsearch by AWS in 2021, that lets cyber tools store, query, and visualize large volumes of log or event data without licensing restrictions. Serverless, ECS ECS Elastic Common Schema, an open specification maintained by Elastic that defines a standard field naming convention for log and event data, letting cyber tools share and correlate records without per-source field mapping. network filters, Azure Event Grid, and new OpenStack resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.33.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.33.0
Adds aws.bedrock-custom-model resource type for managing custom models in Amazon Bedrock Not checked yet Adds aws.ec2-capacity-reservation resource type for EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. capacity reservations Not checked yet Adds aws.opensearch-serverless resource type for OpenSearch Serverless collections Not checked yet Adds aws.workspaces-web resource type for WorkSpaces Web sessions and endpoints Not checked yet Adds network-location and security-group filters to aws.ecs-service resources Not checked yet
+6 more
show less
Adds network-location and security-group filters to aws.ecs-task resources Not checked yet Adds delete action to aws.iam-oidc-provider resource type Not checked yet Adds pending-maintenance filter to aws.rds-cluster resource type Not checked yet Adds aws.app-configuration, azure.datalake-analytics, azure.kusto, and other Azure resources Not checked yet Adds effective-firewall filter to gcp.gke-cluster resources Not checked yet Adds openstack.image, openstack.secret, and openstack.security-group resource types Not checked yet
11 details in Everything
Cloud Custodian v0.9.32.0 adds new resources (Inspector2-finding), filters, actions, and schema types across AWS, Azure, and GCP.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.32.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.32.0
Adds aws.inspector2-finding resource support for scanning AWS Inspector2 findings Not checked yet Adds delete-environment and update-environment actions to aws.airflow resource Not checked yet Adds kms-key filter to aws.glue-catalog resource Not checked yet Adds delete-empty action to aws.vpc resource Not checked yet Adds rotation-policy filter to azure.keyvault-key resource Not checked yet
+5 more
show less
Adds iam-policy and org-policy filters to gcp.organization resource Not checked yet Adds server-config filter to gcp.gke-cluster and gcp.gke-nodepool resources Not checked yet Adds set-high-availability action to gcp.sql-instance resource Not checked yet Supports float value_type in core policy filters Not checked yet Allows escaped hyphens via ordinal hex in offhours core filter Not checked yet
10 details in Everything
Cloud Custodian 0.9.31.0 adds support for AWS Access Analyzer, Azure App Insights/Bastion, GCP Instance Group Manager, new S3 bucket-replication filter, and c7n-left --var-file support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.31.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.31.0
└──▷ TRY IT
Pass local Terraform variable files to c7n-left during policy evaluation.
copy
$ c7n-left evaluate --var-file vars.tfvars policy.yml
Adds data:aws.access-analyzer-finding resource type to detect active IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. findings in AWS. Not checked yet Adds bucket-replication filter to S3 policy actions for configuring bucket replication rules. Not checked yet Adds --var-file CLI argument to c7n-left to pass Terraform variable files directly. Not checked yet Adds prefix: data. namespace to c7n-left data resource types. Not checked yet Adds native OCI OCI Open Container Initiative standard, maintained by the Linux Foundation, defining the image format and runtime spec that container tools share so images built once run anywhere OCI-compliant. output support for logging and blob/object storage destinations. Not checked yet
5 details in Everything
Cloud Custodian 0.9.30.0 adds ~27 new AWS/GCP/Azure resource types and multiple new actions/filters for existing resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.30.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.30.0
aws.advisor-check resource type added for Amazon CloudCheck Advisor findings Not checked yet aws.apigwv2-stage resource type added for API Gateway v2 stages Not checked yet aws.appdiscovery-agent resource type added for Application Discovery Service agents Not checked yet aws.appstream-fleet resource type added for AppStream 2.0 fleets Not checked yet aws.appstream-stack resource type added for AppStream 2.0 stacks Not checked yet
+30 more
show less
aws.athena-named-query resource type added for Athena named queries Not checked yet aws.budget resource type added for AWS Budgets Not checked yet aws.cloudwatch-dashboard resource type added for CloudWatch Dashboards Not checked yet aws.datasync-agent resource type added for DataSync agents Not checked yet aws.datasync-task resource type added for DataSync tasks Not checked yet aws.devicefarm-project resource type added for Device Farm projects Not checked yet aws.dms-replication-task resource type added for DMS replication tasks Not checked yet aws.flow-log resource type added for VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. Flow Logs Not checked yet aws.guardduty-finding resource type added for GuardDuty findings Not checked yet aws.lex-bot resource type added for Lex bots Not checked yet aws.quicksight-group resource type added for QuickSight groups Not checked yet aws.quicksight-user resource type added for QuickSight users Not checked yet aws.securityhub-finding resource type added for Security Hub findings Not checked yet aws.ssm-patch-group resource type added for SSM patch groups Not checked yet aws.ssm-session-manager resource type added for SSM Session Manager resources Not checked yet aws.xray-group resource type added for X-Ray groups Not checked yet aws.xray-rule resource type added for X-Ray rule groups Not checked yet azure.front-door-policy resource type added for Azure Front Door policies Not checked yet gcp.cloud-run-revision resource type added for Cloud Run Cloud Run Google's managed container runtime that executes stateless workloads on demand, scaling to zero when idle, so tools can deploy without managing servers or paying for idle capacity. revisions Not checked yet ami.cancel-launch-permission action added to manage AMI launch permissions Not checked yet rds.pending-maintenance filter added to RDS instances for pending maintenance events Not checked yet rds-proxy.delete action added for removing RDS Proxy instances Not checked yet rds-snapshot.instance filter added to associate snapshots with RDS instances Not checked yet transit-attachment.set-flow-log action added for Transit Gateway Transit Gateway An AWS-managed network hub that connects VPCs and on-premises networks through a single gateway, replacing complex peering meshes and giving cyber tools a central point to route or inspect cross-network traffic. attachments Not checked yet transit-gateway.set-flow-log action added for Transit Gateways Not checked yet transit-gateway.flow-logs filter added for Transit Gateway flow logs Not checked yet user-pool.wafv2-enabled filter added for Cognito User Pools Not checked yet vpc.modify action added for modifying VPC attributes Not checked yet vpc.metrics filter added for VPC network usage metrics Not checked yet azure.advisor-recommendation filter added to 50+ Azure resource types Not checked yet
35 details in Everything
Cloud Custodian 0.9.29.0 adds new AWS/GCP/Azure resources, actions, and filters plus OCI OCI Open Container Initiative standard, maintained by the Linux Foundation, defining the image format and runtime spec that container tools share so images built once run anywhere OCI-compliant. provider updates
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.29.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.29.0
aws.connect-campaign resource available for querying AWS Connect campaign data Not checked yet gcp.armor-policy, gcp.dataproc-clusters, gcp.patch-deployment, and gcp.redis resources added for GCP cloud coverage Not checked yet New ebs-storage filter on aws.ecs to inspect EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. storage configuration Not checked yet New intelligent-tiering filter and set-intelligent-tiering action on aws.s3 for managing S3 intelligent tiering settings Not checked yet New waf filter on azure.cdnprofile and azure.front-door resources to check WAF WAF A reverse proxy that inspects HTTP/HTTPS traffic and blocks requests matching known attack patterns such as SQL injection or XSS, sitting between clients and a web application to filter malicious input before it reaches the server. status Not checked yet
+2 more
show less
New mark-for-op, set-labels actions and marked-for-op filter on gcp.gke-cluster and gcp.image for label operations Not checked yet Breaking change: OCI provider syntax for actions has been simplified, requiring configuration updates Not checked yet
7 details in Everything
└──▷ BREAKING ON UPGRADE
! OCI provider action syntax has changed; existing policies using the old syntax will fail and require migration to the simplified format described in #8740.
Cloud Custodian 0.9.28.0 adds OCI OCI Open Container Initiative standard, maintained by the Linux Foundation, defining the image format and runtime spec that container tools share so images built once run anywhere OCI-compliant. provider support and new resource types for AWS, Azure, and GCP
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.28.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.28.0
Adds oci provider with resources: bucket, compartment, cross_connect, group, instance, subnet, user, vcn, and zone. Not checked yet Adds gcp.notebook resource type for managing Google Cloud Notebooks. Not checked yet Adds aws.ses-email-identity resource type. Not checked yet Adds aws.ses-receipt-rule-set resource type. Not checked yet Adds gcp.datafusion-instance resource type. Not checked yet
+6 more
show less
Adds gcp.app-engine-service and gcp.app-engine-service-version resource types. Not checked yet Adds azure.monitor-log-profile resource type. Not checked yet Adds gcp.bigtable-instance, gcp.bigtable-instance-cluster, gcp.bigtable-instance-table, and gcp.bigtable-instance-cluster-backup resource types. Not checked yet Adds _run_command timeout parameter to the Azure session CLI for controlling execution duration. Not checked yet Adds config-compliance filter to aws.iam-certificate, aws.iam-saml-provider, and aws.prefix-list resources. Not checked yet Adds metrics filter to aws.vpc-endpoint and aws.transit-attachment resources. Not checked yet
11 details in Everything
New resource types across AWS, Azure, and GCP plus custom JMESPath functions in c7n core.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.27.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.27.0
Adds aws.fis-experiment resource type for Fault Injection Simulator experiments Not checked yet Adds aws.pinpoint-app resource type for Amazon Pinpoint applications Not checked yet Adds aws.ses-configuration-set resource type for SES Configuration Sets Not checked yet Adds aws.eks associate-encryption-config action to enable KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. encryption for EKS EKS Amazon's managed Kubernetes service, run by AWS, that handles control-plane provisioning so teams can deploy containerized workloads without operating the underlying cluster infrastructure themselves. clusters Not checked yet Adds aws.lambda has-specific-managed-policy filter to check attached policies Not checked yet
+17 more
show less
Adds aws.fsx consecutive-aws-backups filter for FSx resources Not checked yet Adds aws.rds consecutive-aws-backups filter for RDS instances Not checked yet Adds aws.rds-cluster consecutive-aws-backups filter for RDS clusters Not checked yet Adds aws.subnet ip-address-usage filter to analyze subnet IP utilization Not checked yet Adds azure.cdn-custom-domain resource type for Azure CDN CDN A content delivery network, servers distributed across locations that cache and serve content near readers. It can reduce loading time and traffic to the original server. custom domains Not checked yet Adds azure.cdn-endpoint resource type for Azure CDN endpoints Not checked yet Adds azure.mariadb resource type for Azure Database for MariaDB Not checked yet Adds azure.open-shift resource type for Azure OpenShift OpenShift Red Hat's Kubernetes distribution that adds developer workflows, built-in CI/CD, and stricter security defaults on top of upstream Kubernetes, giving cyber tools a managed container platform with enterprise auth and RBAC already wired in. Not checked yet Adds azure.servicebus-namespace resource type for Service Bus namespaces Not checked yet Adds azure.servicebus-namespace-authrules resource type for Service Bus authorization rules Not checked yet Adds azure.spring-app and azure.spring-service-instance resource types Not checked yet Adds gcp.artifact-repository resource type for Artifact Registry repositories Not checked yet Adds gcp.compute-project resource type for GCP compute projects Not checked yet Adds gcp.region pseudo-resource type for region-level queries Not checked yet Adds recommend filter to multiple GCP resources (Cloud Run Cloud Run Google's managed container runtime that executes stateless workloads on demand, scaling to zero when idle, so tools can deploy without managing servers or paying for idle capacity. , Disk, Function, GKE GKE Google Kubernetes Engine, Google's managed Kubernetes service, which lets cyber tools run containerized workloads without managing the underlying cluster infrastructure. Cluster, Image, Instance, Project, Service Account, SQL Instance) Not checked yet Enables adding custom functions to JMESPath queries via core extension points Not checked yet Allows passing function parameters from the CLI entry point to policy functions Not checked yet
22 details in Everything
Cloud Custodian 0.9.26.0 adds policy statement filter to vpc-endpoint resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.26.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.26.0
└──▷ USE IT
Example configuration using the new policy-statement filter in a Custodian policy.
yaml
copy
resources:
- aws.vpc-endpoint
filters:
- type: policy-statement
StatementId: "AllowPublicAccess"
Cloud Custodian 0.9.25.0 adds GCP Secret/Cloud Run Cloud Run Google's managed container runtime that executes stateless workloads on demand, scaling to zero when idle, so tools can deploy without managing servers or paying for idle capacity. resources, c7n-left policy testing, and new filters/actions across AWS/Azure/GCP.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.25.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.25.0
Adds gcp.secret resource type to scan GCP Secrets Manager secrets Not checked yet Adds gcp.cloud-run-service and gcp.cloud-run-job resource types for Cloud Run management Not checked yet Adds c7n-left docker image for isolated policy execution environments Not checked yet Adds force option to aws.ecs-task-definition delete action for permanent removal Not checked yet Adds safety-rule filter to aws.recovery-control-panel resource Not checked yet
+9 more
show less
Adds list-item core filter for iterating over list-valued attributes in policies Not checked yet Adds jmespath as a value_path option in c7n.filters.value to supply JMESPath expressions Not checked yet Adds topic filter to aws.sns-subscription resource Not checked yet Adds flow-logs filter to azure.networksecuritygroup resource Not checked yet Adds diagnostic-settings filter to azure.subscription resource Not checked yet Adds access-approval filter to gcp.project resource Not checked yet Adds essential-contacts filter to gcp.organization resource Not checked yet Adds iam-policy filter to gcp.service-account resource Not checked yet Adds used filter to tencentcloud.security-group resource Not checked yet
14 details in Everything
└──▷ BREAKING ON UPGRADE
! aws.kinesis-video no longer supports the mark, unmark, untag actions or tag-count filter
Cloud Custodian 0.9.24.0 adds new AWS resources, filters, actions, and c7n-mailer replay integrations.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.24.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.24.0
enable-auditlog action for aws.elasticsearch to forward audit logs to CloudWatch Not checked yet network-location filter for aws.efs-mount-target and aws.eks resources Not checked yet lambda-edge filter for aws.lambda resources Not checked yet c7n-mailer replay now supports Slack notifications and SQS event source emulation Not checked yet
4 details in Everything
Adds EMR Serverless App resource support with tag/mark actions; GCP missing filter for logs
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.23.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.23.0
aws.emr-serverless-app resource type added with delete, tag, and mark actions (PR #8197) Not checked yet Policy vars are now supported in conditions (policy.load / core), enabling dynamic policy logic (PR #8014) Not checked yet AWS CloudWatch Logs filter now supports passing a role ARN to the put-subscription-filter call via a new attribute (PR #8246) Not checked yet GCP log-project-metric resource adds a metric alert filter for monitoring log-based metrics (PR #8155) Not checked yet aws.timestream-table and aws.timestream-database resource types added (PR #8159) Not checked yet
+3 more
show less
AWS IAM AWS IAM AWS Identity and Access Management is Amazon's service for controlling who and what can call AWS APIs, by attaching policies that allow or deny actions on resources. Cyber tools use it to scope credentials to least privilege. User resource gains the set-policy action to update managed policies (PR #8125) Not checked yet AWS Secrets Manager resource adds a set-encryption action (PR #8168) Not checked yet GCP filters now enable the missing filter capability (PR #8234) Not checked yet
8 details in Everything
Cloud Custodian 0.9.22.0 adds many new AWS Config Connector resources, c7n-org org-level vars, and Azure Defender Alerts support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.22.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.22.0
c7n-org supports org level vars in config file (#8033) Not checked yet Adds azure.defender-alert resource type Not checked yet Adds awscc.accessanalyzer_analyzer, awscc.acmpca_certificateauthority, awscc.amplify_app, awscc.apigateway_stage, awscc.backup_backupvault, and dozens more AWS Config Connector resources (full list in release notes) Not checked yet Adds readiness-check resource for AWS (#8112) Not checked yet
4 details in Everything
Cloud Custodian 0.9.21.0 adds aws.transfer resources, c7n-org not-accounts option, and new filters/actions for AWS/Azure/Tencent resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.21.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.21.0
└──▷ TRY IT
Scan newly added AWS Transfer resources for misconfigurations.
copy
$ custodian run -s output/ policy.yaml
# inside policy.yaml:
resources: aws.transfer-server
Run policies on all accounts except specific ones using c7n-org.
copy
$ c7n-org run --profile default -s out/ --not-accounts account-to-skip account-to-skip2 -u policy.yml
aws.transfer-server and aws.transfer-user resources added Not checked yet configuration-parameter filter for azure.postgresql-server Not checked yet auditing filter for azure.sql-server Not checked yet blob-services filter for azure.storage Not checked yet authentication filter for azure.webapp Not checked yet
+6 more
show less
logging filter for aws.wafv2 Not checked yet has-statement filter for aws.efs and aws.secrets-manager Not checked yet set-rule-state action for aws.event-rule Not checked yet consecutive-backups filter for aws.dynamodb-table, aws.efs, aws.redshift Not checked yet auto-tag-user, copy-related-tag, mark-for-op, remove-tag, tag actions for aws.glue-connection Not checked yet set-role action for aws.iam-profile Not checked yet
11 details in Everything
Cloud Custodian 0.9.20.0 adds RDS Proxy and API GWv2 resources, c7n-left JSON output, and Kubernetes admission mode.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.20.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.20.0
└──▷ USE IT
Run policy checks on Terraform infrastructure using the new c7n-left shift-left capabilities with JSON output including resource names.
shell
copy
c7n-left --config terraform_plan.json --policy terraform_policy.yml --output-format json
Deploy Cloud Custodian Kubernetes admission controller to enforce policies on new pod submissions.
shell
copy
helm install c7n-kates cloud-custodian/c7n-kates --set mode=k8s-admission
aws.apigwv2 resource is now available for managing API Gateway v2 resources Not checked yet aws.graphql-api resource added for GraphQL API management Not checked yet aws.rds-proxy resource support for RDS Proxy instances Not checked yet c7n_kube mode/k8s-admission adds admission controller mode for Kubernetes policy enforcement Not checked yet Add role and cluster-role resources to c7n_kube for Kubernetes RBAC RBAC Role-based access control, where permissions are assigned to roles such as reader or administrator and users receive those roles. It makes access easier to manage than individual permission lists. management Not checked yet
+6 more
show less
tools/c7n-left updates JSON output to include resource names and JMESPath query results Not checked yet tools/c7n-left exits with code 1 when resources match policies in shift-left checks Not checked yet Add login-profile filter to aws.iam-user for filtering users by login status Not checked yet Add put-subscription-filter action to aws.log-group for CloudWatch log configuration Not checked yet Update TLS endpoint config action for aws.elasticsearch Not checked yet c7n-org now supports variables in run-script arguments Not checked yet
11 details in Everything
New AWS resources (catalog-product, datalake-location, awscc providers), TencentCloud support, and CCL directory loader
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.19.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.19.0
Adds aws.catalog-product resource to Cloud Custodian policy schemas for filtering AWS Service Catalog products. Not checked yet Adds aws.datalake-location resource with new deregister action and cross-account filter capabilities. Not checked yet Introduces tencentcloud as a supported cloud provider with cvm resource support. Not checked yet Adds awscc.* resources covering AWS Config Cloud Control schema types (e.g., accessanalyzer_analyzer, apigateway_*). Not checked yet Adds set-xray-tracing action to the aws.lambda policy engine. Not checked yet
+1 more
show less
Adds metrics filter for Amazon ECR ECR Amazon Elastic Container Registry, AWS's managed service for storing and distributing Docker and OCI container images, giving cyber tools a private, IAM-gated registry without self-hosting infrastructure. resources. Not checked yet
6 details in Everything
Adds aws.connect-instance resource, json-diff and has-statement filters, GCP set-labels action, and new env var for GCP projects.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.18.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.18.0
└──▷ USE IT
Set the GCP project without modifying policy files
shell
copy
GCP_PROJECT=my-project c7n-schema -r gcp.sql-instance
GCP_PROJECT environment variable is now supported to configure the GCP project ID Not checked yet aws.connect-instance resource type is added with instance-attribute filter Not checked yet gcp.sql-instance gains set-labels action and marked-for-op filter Not checked yet json-diff filter added to aws.batch-compute, aws.batch-queue, aws.kafka, aws.sagemaker-model, aws.step-machine, and aws.workspaces Not checked yet has-statement filter added to aws.sns and aws.sqs resources Not checked yet
+3 more
show less
waf-enabled filter and set-waf action added to aws.rest-stage for API Gateway, CloudFront, and ELB Not checked yet consecutive-backups and subnet filters added to aws.fsx Not checked yet connection-aliases filter added to aws.workspaces-directory Not checked yet
8 details in Everything
└──▷ BREAKING ON UPGRADE
! Using the s3 output for cross-account buckets now requires the GetBucketLocation permission on the target bucket
New FIS template and WAFv2 support across multiple AWS resources in Cloud Custodian
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.17.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.17.0
Adds aws.fis-template resource type to manage AWS Fault Injection Simulator templates Not checked yet Adds aws.wafv2 resource type for managing Web Access Control Lists Not checked yet Adds config-compliance filter to aws.account Not checked yet Adds set-wafv2 action and wafv2-enabled filter to aws.app-elb, aws.distribution, and aws.rest-stage Not checked yet Adds enable-https action and domain-options filter to aws.cloudsearch Not checked yet
+4 more
show less
Adds set-policy action to aws.iam-group Not checked yet Adds engine filter to aws.rds Not checked yet Adds dead-letter filter to aws.sqs Not checked yet Adds deregister action to aws.workspaces-directory Not checked yet
9 details in Everything
Cloud Custodian 0.9.16 adds support for AWS Traffic Mirror resources, Azure Defender, and new filters/actions for RDS, ElastiCache, and Glue.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.16.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.16.0
Adds aws.mirror-session resource type for managing AWS Traffic Mirror sessions Not checked yet Adds aws.mirror-target resource type for managing AWS Traffic Mirror targets Not checked yet Adds cross-cluster filter for aws.elasticsearch resources Not checked yet Adds toggle-metrics action for aws.glue-job resources Not checked yet Adds consecutive-snapshots filter for aws.rds and aws.rds-cluster resources Not checked yet
5 details in Everything
Cloud Custodian 0.9.15.0 adds AWS Cloud Control Provider (awscc), new resources/actions, and c7n_mailer service-quota formatting
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.15.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.15.0
└──▷ USE IT
Configure a policy to use the new modify-ecr-policy action on ECR ECR Amazon Elastic Container Registry, AWS's managed service for storing and distributing Docker and OCI container images, giving cyber tools a private, IAM-gated registry without self-hosting infrastructure. repositories.
config
copy
resources:
- aws.ecr
actions:
- type: modify-ecr-policy
policy: <new-policy-document>
Adds awscc experimental cloud control provider supporting hundreds of new resource types like awscc.apigateway_domainname, awscc.backup_backupplan, and awscc.cloudformation_stackset Not checked yet Adds modify-ecr-policy action for the aws.ecr resource to programmatically modify ECR repository policy statements Not checked yet Adds config-compliance filter for aws.artifact-domain and json-diff filter for aws.codedeploy-app, aws.codedeploy-group, aws.kinesis, and aws.transit-gateway Not checked yet Adds subnet filter for aws.ecs-container-instance resource to filter by subnet ID Not checked yet Adds ownership filter for aws.s3 resources to check bucket ownership controls Not checked yet
+6 more
show less
Adds offhour and onhour filters for aws.sagemaker-notebook resources Not checked yet Adds modify action for aws.subnet resources to modify subnet attributes Not checked yet Adds delete action for gcp.bq-table resources Not checked yet Adds apigw-domain-name resource for API Gateway custom domains Not checked yet Adds ecr-image child resource type for ECR repositories Not checked yet Updates c7n_mailer to add formatting support for service-quota reports Not checked yet
11 details in Everything
Adds aws.airflow, aws.s3-access-point, azure.advisor-recommendation resources and json-diff filter to multiple AWS resource types.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.14.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.14.0
Adds aws.airflow resource type for Apache Airflow Apache Airflow An open-source workflow orchestration platform maintained by the Apache Software Foundation that lets developers schedule, monitor, and chain tasks as directed acyclic graphs, making it useful for automating data pipelines. environment management Not checked yet Adds aws.prefix-list resource type for VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. prefix list discovery Not checked yet Adds aws.s3-access-point and aws.s3-access-point-multi resource types for S3 Access Point management Not checked yet Adds azure.advisor-recommendation resource type for Azure Advisor insights Not checked yet Adds json-diff filter to aws.backup-plan, aws.backup-vault, aws.ecr, aws.ecs, and aws.efs resources Not checked yet
+1 more
show less
Adds subscription-filter filter to aws.log-group resources Not checked yet
6 details in Everything
└──▷ BREAKING ON UPGRADE
! AWS Lambda policy updates may fail if not upgraded before Dec 6, 2021 due to AWS behavior change in lambda provisioning
Adds aws.ssm-data-sync resource, gcp.sql-instance start action, and c7n-policystream policy glob support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.13.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.13.0
Adds aws.service-quota, aws.service-quota-request, and aws.ec2-spot-fleet-request resources for new quota and spot fleet management policies Not checked yet Adds event-selectors filter to aws.cloudtrail resource to narrow down S3 event processing Not checked yet Adds start action to gcp.sql-instance resource to programmatically start stopped SQL instances Not checked yet Adds resize action to aws.ecs-service and corresponding offhour/onhour filters for automated scaling Not checked yet Adds tagging actions (auto-tag-user, copy-related-tag, tag, remove-tag, mark-for-op) and marked-for-op filter to aws.iam-policy resource Not checked yet
+4 more
show less
Allows encryption filter in aws.s3 to match by id, alias, or arn for bucket key options Not checked yet Adds run-script support in tools/c7n-org with automatic AWS_PROFILE/REGION management Not checked yet Supports specifying policy glob on CLI in tools/c7n_policystream via new argument Not checked yet Introduces deprecation framework for policy YAML in core Not checked yet
9 details in Everything
Cloud Custodian 0.9.12.0 adds support for AWS Network Firewall, EKS EKS Amazon's managed Kubernetes service, run by AWS, that handles control-plane provisioning so teams can deploy containerized workloads without operating the underlying cluster infrastructure themselves. Node Groups, Azure App Gateway/Container Registry, and GCP Service Account Keys.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.12.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.12.0
Adds aws.network-firewall resource type for policy management Not checked yet Adds aws.eks-nodegroup resource type with delete action Not checked yet Adds azure.application-gateway resource type support Not checked yet Adds azure.container-registry resource type (replacing azure.containerregistry) Not checked yet Adds gcp.service-account-key resource type with enable, disable, and delete actions Not checked yet
+9 more
show less
Adds json-diff filter to aws.ecs-service, aws.ecs-task-definition, and aws.eks resources Not checked yet Adds kms-key filter to aws.kafka resources for data-volume encryption checks Not checked yet Adds data-masking-policy and transparent-data-encryption filters to azure.sql-database resources Not checked yet Adds azure-ad-administrators and vulnerability-assessment filters to azure.sql-server resources Not checked yet Adds vm-extensions filter to azure.vm resources Not checked yet Adds metrics and scc-findings filters to GCP resources including gcp.bucket, gcp.bq-table, and others Not checked yet Adds update action to aws.asg resources for setting max lifetime Not checked yet Adds auto-tag-user, copy-related-tag, mark-for-op, remove-tag, and tag actions to aws.alarm resources Not checked yet Adds marked-for-op filter to aws.alarm resources Not checked yet
14 details in Everything
└──▷ BREAKING ON UPGRADE
! azure.containerregistry resource type has been removed; use azure.container-registry instead
Adds OpenStack provider support, trim-versions action for Lambda, set-permissions for RDS snapshots, and new filters/actions across AWS resources.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.11.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.11.0
Adds the openstack provider Alpha to Cloud Custodian, enabling policy enforcement for OpenStack resources. Not checked yet Adds universal_taggable = True config flag to enable universal tag augmentation via ARN list. Not checked yet Adds config-poll-rule mode that outputs post-evaluation results in chunked format. Not checked yet Adds appflow resource type with tag filters/actions and delete capability for AWS AppFlow. Not checked yet Adds arn resource resolver to help resolve cross-account or cross-region ARNs within policies. Not checked yet
+10 more
show less
Adds scaling-policy filter and resource support for AWS Auto Scaling Groups (aws.asg). Not checked yet Adds kms-key filter to CloudWatch log groups (aws.log-group). Not checked yet Adds subnet filter for ECS ECS Elastic Common Schema, an open specification maintained by Elastic that defines a standard field naming convention for log and event data, letting cyber tools share and correlate records without per-source field mapping. tasks (aws.ecs-task) and ECS services (aws.ecs-service). Not checked yet Adds trim-versions action for AWS Lambda functions to garbage collect old versions. Not checked yet Adds kms-key filter for Amazon MQ message brokers (aws.message-broker). Not checked yet Adds delete action and force options/filters for Event Bridge rules (aws.event-rule). Not checked yet Adds kms-alias filter for RDS clusters (aws.rds-cluster), kms-key filter for Workspaces, and volume filter for EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. snapshots. Not checked yet Adds set-permissions action for RDS snapshot resources (aws.rds-snapshot) and RDS cluster snapshots (aws.rds-cluster-snapshot). Not checked yet Adds delete and modify actions for GCP firewall rules (gcp.firewall), plus cost/metric/offhour/onhour/policy-compliant/resource-lock filters for Azure storage containers. Not checked yet Removes azure.keyvault-storage resource type due to SDK incompatibility. Not checked yet
15 details in Everything
└──▷ BREAKING ON UPGRADE
! azure.keyvault-storage resource type is removed and will no longer be recognized by policies.
Cloud Custodian 0.9.10.0 adds aws.event-bus and aws.rest-client-certificate resources with new filters/actions for AWS Config, IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. , and GCP PubSub.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.10.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.10.0
schema changes adds the aws.event-bus resource type for querying AWS EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. event buses Not checked yet schema changes adds the aws.rest-client-certificate resource type for managing REST API REST API A web API design style where clients interact with resources over HTTP using standard methods like GET, POST, and DELETE, giving cyber tools a predictable, language-agnostic way to integrate with external services. client certificates Not checked yet schema changes adds the cross-account filter to aws.config-recorder resources Not checked yet schema changes adds the delete-inline-policies action to aws.iam-group resources Not checked yet schema changes adds the ssh-key filter to aws.iam-user resources Not checked yet
+3 more
show less
schema changes adds the delete-ssh-keys action to aws.iam-user resources Not checked yet schema changes adds the client-certificate filter to aws.rest-stage resources Not checked yet schema changes adds the json-diff filter to aws.secrets-manager resources Not checked yet
8 details in Everything
Cloud Custodian 0.9.9.0 adds new filters and actions for AWS resources plus arbitrary email headers support in c7n-mailer.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.9.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.9.0
└──▷ USE IT
Configure c7n-mailer to inject custom headers into sent emails.
config
copy
mailer:
transport:
type: smtp
host: smtp.example.com
port: 587
email_headers:
X-Custom-Header: 'custodian-automation'
X-Sender-ID: 'policy-runner'
Adds check-macie filter to aws.account resource type to detect missing Macie2 filtering. Not checked yet Adds modify-attributes action to aws.app-elb resource type. Not checked yet Adds set-permissions action to aws.ebs-snapshot resource type. Not checked yet Adds remove-statements action and cross-account filter to aws.elasticsearch resource type. Not checked yet Adds delete action to aws.iam-certificate resource type. Not checked yet
+1 more
show less
Adds arbitrary email header support in c7n-mailer configuration. Not checked yet
6 details in Everything
Cloud Custodian 0.9.8 adds new AWS/Azure/GCP resources and actions including AWS Batch Queue support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.8.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.8.0
Adds aws.batch-queue resource type for managing AWS Batch queues Not checked yet Adds aws.iam-oidc-provider and aws.iam-saml-provider resource types for IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. identity providers identity providers A service that authenticates users and supplies identity information to other applications. It is the sign-in authority behind many single sign-on systems. Not checked yet Adds azure.vm resize action via the resize key in policy actions Not checked yet Adds gcp.instance create-machine-image action via the create-machine-image key in policy actions Not checked yet Adds gcp.project delete, mark-for-op, propagate-labels, and set-labels actions Not checked yet
5 details in Everything
Cloud Custodian 0.9.7.0 adds support for AWS CodeArtifact, EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. Dedicated Hosts, CloudWatch Contributor Insights, and GCP DNS/GKE GKE Google Kubernetes Engine, Google's managed Kubernetes service, which lets cyber tools run containerized workloads without managing the underlying cluster infrastructure. delete actions
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.7.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.7.0
└──▷ USE IT
Automate deletion of GKE clusters that no longer have an owner tag.
config
copy
- policy:
name: delete-orphan-gke
resource: gcp.gke-cluster
filters:
- "tag:Environment": absent
actions:
- type: delete
Adds aws.codeartifact-repository resource and aws.codeartifact-domain resource to scan AWS CodeArtifact assets Not checked yet Adds aws.ec2-host resource for managing EC2 Dedicated Hosts Not checked yet Adds aws.insight-rule resource for CloudWatch Contributor Insight rules Not checked yet Adds access-analyzer filter to aws.account resource Not checked yet Adds kms-key filter to aws.elasticsearch resource Not checked yet
+8 more
show less
Adds metrics filter to aws.nat-gateway resource Not checked yet Adds vpc-endpoint filter to aws.vpc and aws.subnet resources Not checked yet Adds delete action to aws.hostedzone, aws.iam-group, gcp.dns-managed-zone, and gcp.gke-cluster resources Not checked yet Adds auto-tag-user, copy-related-tag, mark-for-op, remove-tag, and tag actions to aws.redshift-subnet-group resource Not checked yet Adds tagging support for aws.redshift-subnet-group, aws.directory, and aws.cloudhsm-cluster resources Not checked yet Adds delete action with cross-account support to aws.service-catalog-portfolio resource Not checked yet Adds exclude argument metavar updates to the metrics CLI help Not checked yet Enables value_from filter enhancement using sets for performance improvement on large lists Not checked yet
13 details in Everything
Cloud Custodian 0.9.6.0 adds config_rule support for the c7n-org policylambda tool.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.6.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.6.0
Cloud Custodian 0.9.5 adds metadata key, value_from condition filter, and ASG image data filtering
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.5.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.5.0
└──▷ HOW TO FIND IT
Attach metadata tags like owner or cost-center to your policy output for better tracking and auditing in Cloud Custodian reports.
📍 c7n run -s output/ policy.yaml
Use a variable or lookup value in a policy condition instead of hardcoding values, enabling dynamic filter logic.
📍 c7n run -s output/ policy_with_value_from.yaml
Simplify time-based filters by using plain integers for days/hours in your policy configuration, reducing verbosity.
📍 c7n run -s output/ policy_with_int_days.yaml
Adds metadata key to policy definitions for attaching custom metadata fields Not checked yet Enables value_from in policy conditions to pull filter values from external sources or variables Not checked yet Supports integer numbers directly as days and hours in time-based filters (e.g., days: 30 instead of datetime.timedelta(days=30) ) Not checked yet
3 details in Everything
Adds EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. set-metadata-access action, Azure function app policy filters for client certs and HTTPS HTTPS HTTP carried over an encrypted TLS connection. It protects traffic in transit and lets a browser verify the server's certificate. -only, GCP get-permissions query, and configurable Splunk sourcetype in c7n_mailer.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.4.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.4.0
└──▷ USE IT
Configure c7n_mailer to use a custom Splunk sourcetype.
config
copy
# In c7n-mailer config.yaml:
splunk:
sourcetype: 'custom_custodian_logs'
Query GCP resource permissions using the new get-permissions feature.
copy
$ c7n-gcp get-permissions --project my-project --type compute/instance
Add ec2:set-metadata-access action to modify instance metadata options Not checked yet Add access analyzer finding filter capability Not checked yet Add account basic filter to check Security Hub enablement Not checked yet Add ELB and ELBv2 attributes filters for load balancer inspection Not checked yet Add EMR subnet and security group filters Not checked yet
+7 more
show less
Add Shield filter/action for CloudFront streaming distribution Not checked yet Add KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. key alias auto-fetching capability Not checked yet Add Azure function app policy filters for client certificates and HTTPS-only enforcement Not checked yet Add GCP blob and log native outputs for audit trails Not checked yet Add get-permissions query in GCP provider Not checked yet Add JSON schema mapping types in core validation logic Not checked yet Make Splunk sourcetype configurable in c7n_mailer Not checked yet
12 details in Everything
Cloud Custodian 0.9.3 adds GCP asset inventory, Glue catalog and streaming distribution actions, SSM delete action, and ASG tag propagation skip
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.3.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.3.0
aws-glue-catalog now supports the remove-statements action. Not checked yet aws-streaming-distribution resources support the set-attributes action and the config filter. Not checked yet aws-ssm-parameter resources support the delete action. Not checked yet aws-asg propagate tags actions (tag-propagation, update-tags) now skip the API call if the Auto Scaling Group has no instances. Not checked yet gcp-asset-inventory source is available to list GCP assets using Cloud Asset Inventory. Not checked yet
+1 more
show less
gcp-functions policies now use the standard policy loader for initialization. Not checked yet
6 details in Everything
Cloud Custodian 0.9.2.0 adds EMR filtering, Redshift actions, Glue Catalog filters, and schema CLI improvements.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.2.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.2.0
└──▷ TRY IT
Generate schema with outlines for better readability using the new CLI flag.
copy
$ c7n-schema --outline > schema.json
Adds account-emr:public-access filter and action for AWS to block or allow public access in EMR clusters Not checked yet Adds cloudformation resource types via the add cfn types feature Not checked yet Adds redshift:set-attributes action for AWS Redshift clusters Not checked yet Adds config-poll-rule mode for AWS Config evaluation Not checked yet Adds codecommit-tags filter and delete action for AWS CodeCommit repositories Not checked yet
+9 more
show less
Adds cwe-event-rule-tagging support for EventBridge EventBridge AWS's managed event bus service that routes events between cloud services, SaaS apps, and custom code using rules and targets, letting tools react to state changes without polling or managing message infrastructure. event rules Not checked yet Adds dynamodb-continuous-backups filter and action for DynamoDB tables Not checked yet Adds ec2-snapshot-create-tags mapping to EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. snapshot creation actions Not checked yet Adds public IP inclusion to Security Hub findings via securityhub-post-finding enhancement Not checked yet Adds s3-event-based-policy-creationdate support for S3 event configurations Not checked yet Adds vpc-unused-key-pair filter and delete action for AWS VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. Not checked yet Adds boolean filter support for glue-catalog resources with schema cleanup Not checked yet Adds --outline option to the c7n-schema CLI command Not checked yet Enables c7n-mailer to replay events via a new entrypoint and supports SQS VPC endpoints Not checked yet
14 details in Everything
Cloud Custodian 0.9.1 adds dry-run alias, lazy loading, new AWS resources (Backup Vault, QLDB), and Azure Function remote builds. Breaking: Python 2.7 dropped; metrics/logs CLI removed.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.9.1.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.9.1.0
Adds --dry-run as an alias for the existing -dryrun flag in the c7n run command Not checked yet Enables lazy loading by default, reducing CLI and serverless cold start latency Not checked yet Adds support for new AWS resources: backup-vault, qldb, glue-catalog, dms-endpoint, directconnect, emr security-configuration Not checked yet Adds set-inventory action for S3 with support for additional optional fields (format) Not checked yet Adds modify-policy action for SQS resources Not checked yet
+4 more
show less
Adds delete-log-sinks and detach-disks actions for GCP instances Not checked yet Adds Azure Functions support for remote builds Not checked yet Drops Python 2.7 compatibility Not checked yet Removes the metrics and logs CLI commands Not checked yet
9 details in Everything
└──▷ BREAKING ON UPGRADE
! The c7n metrics CLI command has been removed! The c7n logs CLI command has been removed
Cloud Custodian 0.8.46.0 adds ECR ECR Amazon Elastic Container Registry, AWS's managed service for storing and distributing Docker and OCI container images, giving cyber tools a private, IAM-gated registry without self-hosting infrastructure. immutability/scanning actions, multi-policy/ resource CLI args, Azure Search support, and GCP IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. policy actions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.46.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.46.0
Adds set-immutable and set-scanning actions for the aws.ecr resource Not checked yet Adds --policies and --resource arguments to c7n run to accept multiple values Not checked yet Adds set-iam-policy action for GCP resource manager resources Not checked yet Adds disk snapshot user formatting of name in GCP provider Not checked yet Adds delete option for GCP pubsub subscriptions, topics, and snapshots Not checked yet
+4 more
show less
Adds set-monitoring action for EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. instances Not checked yet Adds add azure resource graph as a query provider for Azure Not checked yet Adds gcp - label/tagging actions/filters support Not checked yet Adds value filter add a version value type in core structure parsing Not checked yet
9 details in Everything
└──▷ BREAKING ON UPGRADE
! SSM Ops Center dedupe size is restricted per breaking API change! STS STS AWS Security Token Service, an Amazon Web Services API that issues short-lived credentials for IAM roles, letting cyber tools authenticate to AWS without storing long-term secrets. regional endpoints are off by default
Cloud Custodian 0.8.45 introduces new Azure resource support (ACI, Cosmos, KeyVault), AWS security hub event mode, and configurable logging sinks.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.45.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.45.0
aws.securityhub now supports event mode for detecting Security Hub findings via CloudTrail CloudTrail AWS service that records API calls and account activity across an AWS environment, giving cyber tools an audit log to detect anomalous or malicious actions. events Not checked yet azure.aci adds container instance resource type with associated actions and filters Not checked yet azure.cosmosdb introduces Cosmos DB resource types (accounts, databases, containers) with throughput state support Not checked yet azure.keyvault.certificate adds KeyVault certificate resource with integration actions Not checked yet logging supports configurable account, region log sinks and stream names via policy config Not checked yet
+1 more
show less
c7n-mailer action supports proxy configuration via proxy parameter Not checked yet
6 details in Everything
└──▷ BREAKING ON UPGRADE
! Boolean filter blocks (or, and, not) are now validated recursively, which may cause validation errors for invalid policies that previously passed
New webhook action, EKS EKS Amazon's managed Kubernetes service, run by AWS, that handles control-plane provisioning so teams can deploy containerized workloads without operating the underlying cluster infrastructure themselves. resource support, Glue job/endpoint resources, and SMTP SMTP The application-layer protocol used to send email between servers and from clients to servers; cyber tools use it to relay alerts, phishing simulations, or exfiltrated data over standard mail infrastructure. delivery for Azure mailer
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.44.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.44.0
Adds the webhook action to trigger external HTTP callbacks from policy execution. Not checked yet Adds support for AWS Glue Job resources (glue_job) and the new glue-dev-endpoint resource type with tagging capabilities. Not checked yet Introduces SMTP transport support for Azure mailer via the c7n-mailer configuration, enabling email delivery to on-prem or custom SMTP servers. Not checked yet Adds value_type: date option to value filters to enable date-typed data extraction and comparison. Not checked yet Enables regex-based value extraction in value filters using the new regex sub-key. Not checked yet
+1 more
show less
Adds BigQuery BigQuery A serverless, cloud-hosted analytical database from Google that runs SQL queries across massive datasets without managing infrastructure, giving cyber tools scalable storage and fast querying over large volumes of log or event data. tables resource (bigquery_table) for GCP, allowing policies to target specific table-level configurations. Not checked yet
6 details in Everything
Cloud Custodian 0.8.43.0 adds Azure resource types, GCP Spanner/Network Router, and report JSON output
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.43.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.43.0
Adds packaging fixes for Azure function dep in the azure module Not checked yet Adds new BigQuery BigQuery A serverless, cloud-hosted analytical database from Google that runs SQL queries across massive datasets without managing infrastructure, giving cyber tools scalable storage and fast querying over large volumes of log or event data. job and project resources in the gcp module #3747 Not checked yet Adds IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. global role resource support in the gcp module #3749 Not checked yet Adds Pub/Sub snapshot and subscriber resource support in the gcp module #3735 Not checked yet Adds DataFlow jobs resource support in the gcp module #3748 Not checked yet
+18 more
show less
Adds Zone and policy resources support in the gcp module #3748 Not checked yet Adds Spanner resource support in the gcp module #3766 Not checked yet Adds Network Router resource support in the gcp module #3791 Not checked yet Adds Load-Balancer associated resource support in the gcp module #3775 #3780 #3788 Not checked yet Adds support for custom resources definitions in the k8s module #3717 Not checked yet Adds generic label and delete actions in the k8s module #3707 Not checked yet Adds report subcommand compatibility via id on metadata #3697 Not checked yet Adds IAM role support for tags actions/filters in the aws module #3542 Not checked yet Adds EKS EKS Amazon's managed Kubernetes service, run by AWS, that handles control-plane provisioning so teams can deploy containerized workloads without operating the underlying cluster infrastructure themselves. support updating configuration #3708 #3769 Not checked yet Adds VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. related filters for subnets, nat, igw in the aws module #3715 Not checked yet Adds RDS modify cluster action in the aws module #3711 Not checked yet Adds EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. unused filter in the aws module #3651 Not checked yet Adds Lambda policies allow role by name support in the aws module #3661 Not checked yet Adds S3 has statements interpolate bucket info when checking statements #3655 Not checked yet Adds invoke-lambda action configurable timeouts #3632 Not checked yet Adds KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. key filter for EFS, Redshift, SQS in the aws module #3772 Not checked yet Adds IAM role delete action in the aws module #3741 Not checked yet Report supports JSON output format #3692 Not checked yet
23 details in Everything
Cloud Custodian 0.8.42.0 adds LightSail support, GCP notify action, and new IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. /EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. /Lambda permission filters.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.42.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.42.0
Adds light_sail resource type support for DB instances, load balancers, and instances Not checked yet Adds iam-permission-checker filter for IAM roles Not checked yet Adds ec2-permission-checker and lambda-permission-checker filters Not checked yet Adds ami-deregister action option to remove associated snapshots via remove_snapshots key Not checked yet
4 details in Everything
Cloud Custodian 0.8.41 adds Managed Kafka resource, AWS GovCloud partition awareness, and c7n_mailer Slack/CC support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.41.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.41.0
Adds ManagedKafka resource type for managing Apache Kafka clusters on AWS. Not checked yet Enables proper ARN handling in AWS GovCloud and China partitions (aws region logic updated). Not checked yet Adds copy-related-tag action to copy tags from related resources. Not checked yet Adds support for Windows client upload of serverless policies in Azure tooling. Not checked yet
4 details in Everything
Cloud Custodian 0.8.40 adds Transit Gateway Transit Gateway An AWS-managed network hub that connects VPCs and on-premises networks through a single gateway, replacing complex peering meshes and giving cyber tools a central point to route or inspect cross-network traffic. support, new AWS SSM AWS SSM AWS Systems Manager, an Amazon service that lets operators manage EC2 instances and on-premises servers without opening inbound ports, replacing SSH with API-driven session and command execution. send-command action, and Azure Container Registry resource.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.40.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.40.0
Adds transit-gateway resource type for AWS Not checked yet Adds ssm:send-command action for EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. management Not checked yet Adds periodic serverless policy support in GCP Not checked yet
3 details in Everything
└──▷ BREAKING ON UPGRADE
! Lambda policies now default to python 3.7 runtime instead of previous defaults
Cloud Custodian 0.8.33.0 adds DLM, FSx backup, Lambda layer resource, periodic GCP serverless policies and MSI auth
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.33.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.33.0
Adds dlm policy resource for AWS Data Lifecycle Manager Not checked yet Adds aws.fsx resource with update, tag, and backup actions Not checked yet Adds aws.lambda-layer resource with cross-account filter and remove-statements action Not checked yet Adds aws.vpce cross-account filter Not checked yet Adds aws.iam.role set-policy action for adding or removing policies Not checked yet
+13 more
show less
Adds aws.sns KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. filter and set encryption action Not checked yet Adds aws.rds modify-db action Not checked yet Adds aws.firehose S3 destination encryption setting on delivery streams Not checked yet Adds aws.route53 filter and action to set DNS query logging Not checked yet Adds aws.log-group set-encryption action Not checked yet Adds aws.ecr lifecycle policy filter and set action Not checked yet Adds aws.account S3 public access blocks filter and action Not checked yet Adds aws.cloudhsm v2 cluster resource with tag augment and actions Not checked yet Adds periodic serverless policy support for GCP Not checked yet Adds gcp.serviceaccount and gcp.projectrole resources Not checked yet Adds gcp.bigquery.dataset resource Not checked yet Adds gcp.instance value filter on tag/label, onhours/offhours filters and start action Not checked yet Adds MSI authentication support for Azure Not checked yet
18 details in Everything
Cloud Custodian 0.8.31.0 adds ssm-parameter resource, s3 blob output mode, and policystream for policy delta streaming
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.31.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.31.0
Adds ssm-parameter resource type for managing AWS SSM AWS SSM AWS Systems Manager, an Amazon service that lets operators manage EC2 instances and on-premises servers without opening inbound ports, replacing SSH with API-driven session and command execution. parameters via policies. Not checked yet Adds support for max-resources-percent to limit resource consumption by percentage of total account inventory. Not checked yet Introduces global variable interpolation across policies for shared configuration. Not checked yet Adds new policystream tool to convert a git repo's policy commit history into a delta stream. Not checked yet
4 details in Everything
First Azure and GCP provider support with core value filter enhancements
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.30.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.30.0
Adds azure.appserviceplan, azure.armresource, azure.cosmosdb, azure.keyvault, azure.loadbalancer, azure.networkinterface, azure.networksecuritygroup, azure.publicip, azure.resourcegroup, azure.roleassignment, azure.roledefinition, azure.sqlserver, azure.storage, azure.vm, azure.vnet, and azure.webapp resources Not checked yet Adds basic GCP provider support with a handful of resources Not checked yet Adds c7n schema multiple cloud provider support via the c7n schema command Not checked yet Adds set difference operator to value filters Not checked yet Adds unix time stamp date comparisons to value filters Not checked yet
+37 more
show less
Adds unique size filter option to value filters Not checked yet Adds json diff filter for resource revision comparison Not checked yet Extends mark-for-op action with hours/minutes duration support Not checked yet Adds sqs set retention period action Not checked yet Adds ecs container instance resource Not checked yet Adds lambda set concurrency action and filter Not checked yet Adds dynamodb set-stream action Not checked yet Adds config rule resource Not checked yet Adds route53 domain tagging support Not checked yet Adds ami copy with encryption support Not checked yet Adds cfn tag actions Not checked yet Adds cfn set-protection action Not checked yet Adds cwe rule target resource and filters & actions Not checked yet Adds vpc peering cross account filter Not checked yet Adds ec2 instance attribute filter Not checked yet Adds iam policy delete action Not checked yet Adds elb use resource/universal tag api Not checked yet Adds sqs use resource/universal tag api Not checked yet Adds vpc/subnet/eni set-flow-log action Not checked yet Adds cloud watch log group tag actions/filters Not checked yet Adds s3 bucket encryption filter and action Not checked yet Adds dms endpoint resource and delete action Not checked yet Adds dynamodb dax resource with filters & actions Not checked yet Adds aws secrets manager resource and filters/actions Not checked yet Adds sns cross account iam filter and modify policy action Not checked yet Adds cloud watch logs cross account filter on destination Not checked yet Adds redshift snapshot cross account filter and revoke access action Not checked yet Adds eip/network-address release action Not checked yet Adds account increase-limit support for min units of increase Not checked yet Outputs cloud watch metrics in utc Not checked yet Adds c7n-org support for external id via the -e flag or config Not checked yet Extends c7n-org to run against gcp and azure providers Not checked yet Allows c7n-org run-script to execute quoted scripts Not checked yet Improves c7n-guardian for enabling and managing guard duty across aws accounts Not checked yet Adds datadog support to c7n-mailer Not checked yet Adds slack support to c7n-mailer Not checked yet Adds omnissm tool for managing hybrid mode rollout of ssm across cloud instances Not checked yet
42 details in Everything
Cloud Custodian adds SageMaker resource support, GuardDuty integration via c7n_guardian, and multi-cloud provider registry
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.28.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.28.0
sagemaker resources with actions and filters available for policy definitions Not checked yet c7n_guardian tool adds Amazon GuardDuty support for centralized security monitoring Not checked yet Multi-cloud provider registry enables running policies against non-AWS cloud providers Not checked yet ecs service, task, and task-definition resource types added with metrics and task-def filter Not checked yet apigw rest-resource, rest-stage, and rest-account resources with corresponding actions Not checked yet
5 details in Everything
Cloud Custodian 0.8.27.0 adds AWS Shield support, auto-tag-user for all taggable resources, and c7n_org tooling improvements
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.27.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.27.0
Adds aws-shield resource type and associated filters/actions to detect and manage DDoS DDoS Distributed Denial of Service: an attack that floods a target system with traffic from many sources simultaneously, exhausting its resources so legitimate requests cannot be served. protection. Not checked yet Extends auto-tag-user action to ALL taggable resources, not just the previously supported set. Not checked yet Enables {account_id} interpolation in policy role ARNs (e.g., role: arn:aws:iam::{account_id}:role/CustodianRole) for multi-account execution. Not checked yet Adds value filter intersection support (operator: 'and') to combine multiple value filters in a single condition. Not checked yet Adds s3-encrypt-extant-keys regression fix ensuring AES256 encryption works correctly when KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. is insufficient. Not checked yet
5 details in Everything
Cloud Custodian 0.8.26.0 adds actions for ALB ALB AWS Application Load Balancer, a managed Layer 7 load balancer from Amazon that routes HTTP/HTTPS traffic by host, path, or header, giving tools flexible ingress control without managing their own proxy. logging, IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. user keys, ECR ECR Amazon Elastic Container Registry, AWS's managed service for storing and distributing Docker and OCI container images, giving cyber tools a private, IAM-gated registry without self-hosting infrastructure. statements, and c7n_mailer DLQ config.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.26.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.26.0
└──▷ USE IT
Enable S3 logging for ALBs that don't currently have it enabled
config
copy
actions:
- type: set-s3-logging
bucket: my-logs-bucket
prefix: alb-logs/
Add a dead letter queue to c7n_mailer to catch failed email deliveries
config
copy
sqs_url: "https://sqs.us-east-1.amazonaws.com/123456/mymailer"
dead_letter_queue: "arn:aws:sqs:us-east-1:123456:mymailer-dlq"
Remove an IAM access key for a specific user using the new action
config
copy
actions:
- type: remove-key
keys_to_remove: "action-required"
Adds set-s3-logging action for ALB resources to enable server-side logging to an S3 bucket Not checked yet Adds increase-limit region field support in the resources/account module for AWS service quota requests Not checked yet Adds remove-statement action for ECR repositories to delete policy statements Not checked yet Adds delete action for IAM users and remove key action with date bug fix for unused access keys Not checked yet Adds c7n_mailer.dead_letter_queue config option for handling failed email processing messages Not checked yet
+1 more
show less
Adds support for querying third-party owned AMIs and snapshots in EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. resources Not checked yet
6 details in Everything
Adds c7n_org multi-account execution, S3 deny-augments, RDS parameter group support, and several new filters/actions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.25.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.25.0
c7n_org tool provides multi-account policy execution and reporting Not checked yet s3 deny augment tracks denied API calls per bucket in resource data Not checked yet has-statement filter for S3 bucket policies to identify buckets without any statements Not checked yet New RDSClusterParameterGroup resource type with tag filters and actions Not checked yet matched option allows conjunctive listener filtering for app-elb listeners Not checked yet
+4 more
show less
ebs-modify action enables modifying EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. volumes while they are online Not checked yet account-cloudtrail action adds support for specifying the S3 bucket region Not checked yet health events filter now supports filtering by region Not checked yet account raise-limit action includes sub-service type and region in output Not checked yet
9 details in Everything
└──▷ BREAKING ON UPGRADE
! The builtin variable name format is renamed to fmt
Cloud Custodian 0.8.24 adds R53 domain resource, EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. snapshot creation action, and c7n_logexporter tool
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.24.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.24.0
Adds r53 domain resource for Route 53 hosted zone management. Not checked yet New action to create EBS snapshots from EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. volumes. Not checked yet Adds tools/c7n_logexporter CloudWatch log group exporter utility. Not checked yet Adds S3 encryption filter to check bucket encryption settings. Not checked yet Implements resize up action for Auto Scaling groups. Not checked yet
5 details in Everything
Cloud Custodian 0.8.23.1 adds multi-target contact_tags, nacl filters, and IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. credential report support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.23.1 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.23.1
contact_tags now accepts multiple notification targets (emails) Not checked yet New column_spec integer support for CSV value lookups Not checked yet Added is-log-target filter for S3 resources Not checked yet Support for checking the current region in check-cloudtrail filters Not checked yet Added cidr filter support for NACLs Not checked yet
+11 more
show less
New environment variables to specify Salactus options Not checked yet Added subnet filter for NACL resources Not checked yet Added SES region configuration capability Not checked yet New filter to identify accounts missing password policies Not checked yet Support for the IAM credential report on the account level Not checked yet New default.html mail template option Not checked yet Added cloudwatch-alarm-delete action Not checked yet Added not filter capability Not checked yet Added encrypt-keys support for re-keying when key-id is specified Not checked yet New filters for flow logs (vpc, subnet, eni) Not checked yet Added count ValueType filter Not checked yet
16 details in Everything
Cloud Custodian 0.8.23.0 adds health-event resource support, --debug to version subcommand, and CLI tab completion
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.23.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.23.0
└──▷ TRY IT
Debug environment details without running a full policy execution.
copy
$ c7n-cli version --debug
Apply multiple policy files in a single CLI invocation.
copy
$ c7n-cli run -p policies/compliance.yml -p policies/cost-optimization.yml
Adds health-event resource with filters and augment support for AWS Health API events Not checked yet Adds filter:metrics attribute percentage calculation for resources supporting metrics queries Not checked yet Adds --debug option to the version subcommand to print system information Not checked yet Enables tab completion via argcomplete on the command line Not checked yet Allows multiple policy files to be specified directly on the command line Not checked yet
5 details in Everything
Cloud Custodian 0.8.20.0 adds ELB support, new resource types, CSV report custom fields, and various tag/filters/actions
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.20.0 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.20.0
└──▷ TRY IT
Generate a CSV report with custom columns including resource type and region.
copy
$ c7n-cli run policy.yml --output-dir ./reports --format csv --custom-fields 'type,region'
app elb support for CloudFormation CloudFormation An AWS service that lets you describe and provision cloud infrastructure as declarative YAML or JSON templates, so a cyber tool can reproducibly spin up or tear down its entire AWS environment with a single API call. -based resources Not checked yet New ec2 state-transition-age filter for instance lifecycle events Not checked yet Custom fields in CLI CSV reports via new output configuration Not checked yet rds snapshot tag operations (tag/untag) now supported Not checked yet New security-group delete action and used/unused filters Not checked yet
+12 more
show less
iam has-users and inline policy value filters for identity management Not checked yet s3 enable-versioning action and new tag-related actions for S3 buckets Not checked yet Network-attached resource filters for security-group and subnet Not checked yet New resource types: kinesis-analytics, firehose, rds-subscription, vpn-connection, vpn-gateway Not checked yet elasticache resources with new filters and actions Not checked yet Redshift tag filters and actions for cluster management Not checked yet Value filters can now retrieve data from URLs and S3 in multiple formats Not checked yet Policies themselves can now be tagged via CloudFormation Not checked yet cidr-match and cidr-size comparisons added to value filters Not checked yet Auto Scaling Group capacity-delta filter and resize actions Not checked yet ELB with-instance filter for load balancer targeting Not checked yet ami launch-permission removal action for AMI management Not checked yet
17 details in Everything
Cloud Custodian 0.8.19 adds AWS Config rule execution, EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. tag actions/filters, and S3 bucket deletion
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.19 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.19
└──▷ HOW TO FIND IT
Execute a custodian policy as a custom AWS Config rule directly from your configuration.
📍 custodian run -s output/ my-config-rule-policy.yml --run-as-aws-config
Adds support for executing custodian policies as custom AWS Config rules with integrated provisioning. Not checked yet Extends generic EC2 resource support to include tag actions and filters. Not checked yet Adds s3.delete_bucket action to delete an S3 bucket and its contents. Not checked yet
3 details in Everything
Cloud Custodian 0.8.18 adds account resource, Aurora support, KMS KMS A managed service that creates, stores, rotates and controls access to encryption keys, usually backed by HSMs. Applications ask it to encrypt or decrypt rather than holding keys themselves. filters, and on-hours scheduling
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.18 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.18
Adds account as a manageable resource type with filters for root MFA MFA Multi-factor authentication, requiring proof from different categories, such as a password and a hardware key, to sign in. It reduces reliance on a password alone. , service limits, CloudTrail CloudTrail AWS service that records API calls and account activity across an AWS environment, giving cyber tools an audit log to detect anomalous or malicious actions. , and Config status Not checked yet Adds aurora resource support with corresponding filter and action schemas Not checked yet Adds OnlyPorts and Ports value filters for security group permission checks Not checked yet Adds kms_alias filter for EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. and RDS resources to verify customer master key status Not checked yet Adds KMS key rotation status filter capability Not checked yet
+4 more
show less
Adds log_group resource support with retention setting and deletion actions Not checked yet Adds rds_tag_trim action for cleaning up Amazon RDS resource tags Not checked yet Adds instance resizing capability via policy actions Not checked yet Adds value_type constraint to the expiration filter configuration Not checked yet
9 details in Everything
Adds region-specific policies with max-resources limit, new SG/ENI/IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. filters/actions, and value_type filter conversions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.17 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.17
Policies can now be region specific (for global resources support) and support a max-resources attribute as a safety measure Not checked yet Adds security group permission filtering (ingress, egress) and actions (remove-permissions) Not checked yet Adds network interface filters (subnet, security group) and actions (remove-security-group) Not checked yet Adds iam user filters (mfa-device, access-key, managed-policy) and actions (remove-access-keys) Not checked yet value_type parameter on value filter allows conversion of parameters, and supports age, expiration, size, integer, etc. Not checked yet
+1 more
show less
Adds ebs snapshot formatter for reports Not checked yet
6 details in Everything
Cloud Custodian 0.8.16 adds metric filters, cross-account IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. checks, custom Lambda actions, EBS EBS Amazon's block-storage service for EC2 instances, providing persistent network-attached volumes that survive instance restarts and can be snapshotted, giving cyber tools durable, scalable disk without managing physical drives. snapshot copy, and RDS auto-patch.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.16 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.16
ec2copy-encrypted-snapshot action to copy encrypted EBS snapshots across regions Not checked yet rds-auto-patch action to enable minor version maintenance on RDS instances Not checked yet Custom lambda actions via the ability to extend Custodian with user-defined Lambda functions as actions Not checked yet Cross-account access filters for any resource supporting an IAM access policy Not checked yet cloudwatch-metric-filters for all supported resources to identify unused infrastructure Not checked yet
5 details in Everything
Cloud Custodian 0.8.15 adds support for Lambda, API Gateway, RDS snapshots, and log group filters/actions.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.15 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.15
Adds lambda, api-gateway, kinesis-log-group, firehose and rds-snapshot resource types to policy definitions Not checked yet Adds is-invalid filter for autoscaling:autoscaling-group to detect structurally invalid configurations Not checked yet Adds last-write-filter for cloudwatch-log-group to identify groups based on their last write timestamp Not checked yet Adds the delete action for cloudwatch-log-group resources Not checked yet Adds the metrics-retrieval script at tools/policymetrics.py Not checked yet
5 details in Everything
Adds version CLI subcommand and ELB SSL SSL A cryptographic protocol for encrypting network connections, now deprecated in favor of TLS but whose name persists colloquially. Cyber tools reference it when handling HTTPS or other encrypted-channel inspection and termination. -policy annotation in Cloud Custodian v0.8.13
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.8.13 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout v0.8.13
ELB ssl-policy check now annotates resources with the specific protocol and settings that triggered a match. Not checked yet
1 detail in Everything
Cloud Custodian 0.8.11 adds marked-for-op to RDS/ELB, policy tags, config vars, S3 multipart support, and schema enforcement.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.11 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.11
Adds marked-for-op support for RDS resources Not checked yet Adds marked-for-op support for ELB resources Not checked yet Adds support for tagging policies with tags field for classification and grouping Not checked yet Adds vars section to config files to allow YAML references to repeated configuration blocks Not checked yet Adds large file S3 copy support via multipart upload in policy actions Not checked yet
+4 more
show less
Enforces policy name conventions using JSON Schema validation on load Not checked yet Improves CloudWatch Events integration with better support for multiple manually configured CloudTrail CloudTrail AWS service that records API calls and account activity across an AWS environment, giving cyber tools an audit log to detect anomalous or malicious actions. events within a single policy Not checked yet Adds tools/vocabulary.py utility to auto-generate YAML documentation of valid policy language elements Not checked yet Adds statement filter support for S3 resources Not checked yet
9 details in Everything
Adds PyPy support for performance, RDS snapshot/backup actions, ASG VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. filters, and large batch notifications in Cloud Custodian 0.8.6
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.6 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.6
Add support for running on PyPy to achieve ~30% performance improvement on S3 full scans Not checked yet Add RDS actions for taking manual snapshots and configuring automatic backup retention Not checked yet Add VPC filter capability for Auto Scaling Group (ASG) policies Not checked yet Enable batch notifications in groups of 500 when handling large resource sets Not checked yet
4 details in Everything
Cloud Custodian 0.8.5 adds EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. snapshot creation, ELB SSL SSL A cryptographic protocol for encrypting network connections, now deprecated in favor of TLS but whose name persists colloquially. Cyber tools reference it when handling HTTPS or other encrypted-channel inspection and termination. policy actions, and S3 global grant deletion
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.8.5 https://github.com/cloud-custodian/cloud-custodian.git
$ git checkout 0.8.5
└──▷ TRY IT
Automate EC2 snapshot creation with custom tags and retention logic
copy
$ c7n-cli run -e prod -s out policy.yml
policy.yml:
type: ec2
name: ec2-snapshot
collection:
mode:
type: cloudonevent
period: 300
filters:
- State.Name: running
actions:
- type: snapshot
SnapshotClass: <arn-or-id>
Description: "Autosnapshot {{ instance.id }}"
Enforce specific SSL policies on ELBs that match a whitelist filter
copy
$ c7n-cli run -e prod -s out policy.yml
policy.yml:
type: elb
name: enforce-ssl-policy
mode:
type: cloudonevent
period: 300
filters:
- ssl-whitelist:
- arn:aws:iam::123456789012:server-certificate/prod-cert.pem
actions:
- type: set-ssl-policy
policy-name: ELBSecurityPolicy-2016-08
Remove public or global grants from S3 bucket ACLs ACLs An access control list, a set of rules allowing or denying operations for particular users, services or network addresses. It decides who can use a resource. to tighten access control
copy
$ c7n-cli run -e prod -s out policy.yml
policy.yml:
type: s3
name: remove-global-grants
mode:
type: cloudonevent
period: 300
filters:
- Type: AWSGlobalAcc
type: bucket-acl-attachment-actions
actions:
- type: delete-global-grants
Snapshot class to create EC2 snapshots via the ec2:CreateSnapshot action Not checked yet set-ssl-policy action for ELBs to create/attach SSL listener policies, usable with the ssl-whitelist filter Not checked yet delete-global-grants action for S3 buckets to remove global grants from bucket ACLs Not checked yet
3 details in Everything