Jordan S
12/04/2025, 5:07 AMalam ahmed
12/14/2025, 3:51 PMTimmy
12/22/2025, 2:28 PMgcloud compute instances delete-access-config. Is it possible with the cloud custodian?
I looked at the list of possible actions for gcp instance at https://cloudcustodian.io/docs/gcp/resources/instance.html#actions and did not see any way to achieve this...Deepika Kanwar
12/22/2025, 3:45 PMalam ahmed
12/28/2025, 3:34 PMJosh Reichardt
01/01/2026, 4:58 PMGregory Suvalian
01/02/2026, 2:23 PMAlan Martinez
02/13/2026, 2:10 AMowners tags against a list in a JSON file stored in Azure Blob. I want Cloud Custodian to read that JSON as the source of truth (value_from.url) and compare values, but the only way that seems to work is if the blob is public. I don’t want this sensitive list to be public.
I’ve assigned a User-Assigned Managed Identity with Storage Blob Data Reader on the storage account, but Custodian still fails to fetch the JSON because internally value_from uses standard HTTP GET (urllib) and doesn’t pass Azure auth tokens. (Getting `urllib.error.HTTPError: HTTP Error 409: Public access is not permitted on this storage account.`error )
Is there a maintainable way to have Custodian fetch a private blob with authentication (Managed Identity / Azure AD) without exposing a public URL?
I thought of SAS tokens but managing/refreshing them and injecting them into the policy seems fragile.
Any recommended patterns for this use case?
Thanks!Andrés Martínez Gutiérrez
02/19/2026, 10:31 PM"Hi everyone! I just joined from the CNCF Slack. I'm a Python developer (FastAPI) currently taking the AWS Solutions Architect course. I'm very interested in contributing to Cloud Custodian for GSoC 2026, especially on the AWS provider side. I'm looking to get my feet wet with some 'good first issues'. Any suggestions on where to start or which working group to join?"
Charlotte Read
02/24/2026, 5:22 AMAJ Kerrigan
02/25/2026, 3:48 AM--role option to customize the role it generates in the config - by default it uses arn:aws:iam::{Id}:role/OrganizationAccountAccessRoleAbhishek Tiwari
03/02/2026, 3:22 PMBrian Gaber
03/18/2026, 3:17 PMpolicies:
- name: tag-ebs-volumes-on-ec2-launch
resource: ebs
description: |
Triggered when a new EBS Volume is created for a new EC2 Launch. Checks to see if
it's missing the CreatedBy and CreatedOn tag. If both missing then four tags get created.
mode:
type: cloudtrail
role: arn:aws:iam::{account_id}:role/cloud-custodian-role-assumed
events:
- source: ec2.amazonaws.com
event: RunInstances
ids: "responseElements.instancesSet.items[].blockDeviceMappings[].ebs.volumeId"
filters:
- and:
- tag:CreatedBy: absent
- tag:CreatedOn: absent
actions:
- type: copy-related-tag
resource: ec2
skip_missing: true
key: "Attachments[0].InstanceId"
tags:
- Name
- CreatedBy
- CreatedOn
- AccountId
- RegionJordan S
03/27/2026, 5:02 AMlinguini-dev
03/30/2026, 2:47 PMazure.image does not work for me.
I want to delete all images older than 10 days.
I can use azure.armresource to get all the Image Definitions and I can use it to get all Image Versions. I correctly see them. However, azure.armresource doesn't scrape the properties of the objects, just the plain id,name,etc so I can't really combine / cross-reference the two.
Policy in question:
policies:
- name: get-image-definitions
resource: azure.armresource
filters:
- type: resource-type
values:
- Microsoft.Compute/galleries/images
- type: value
key: id
op: contains
value: "/galleries/mygallery/"
- name: get-image-versions
resource: azure.armresource
filters:
- type: resource-type
values:
- Microsoft.Compute/galleries/images/versions
- type: value
key: id
op: contains
value: "/galleries/mygallery/"
Is there any way to get all Versions of a particular Definition? Or to force the azure.armresource to pull the properties of the object as well ?
The properties key contains a key called publishedDate that I can use to wipe the images without caring which Definition they are a part of.amanpreet_zop
03/31/2026, 11:06 AMChauncey Dawkins
04/07/2026, 6:40 PMkapilt
04/14/2026, 6:00 PMajay.gautam
04/20/2026, 9:04 AM- name: aws_rds_delete_instances
resource: aws.rds
filters:
- or:
- type: value
key: tag:expires_on
value: 0
op: gt
value_type: age
- "tag:noncompliant_no_owner": present
- "tag:noncompliant_no_department": present
- "tag:noncompliant_no_team": present
- "tag:noncompliant_expires_on": present
actions:
- type: delete
skip-snapshot: false
When run, 5 standalone instances get filtered for deletion but none of them are deleted. I'm using --cache-period 0 in the commands . Below are the logs
2026-04-20 14:02:25,804: custodian.policy:INFO policy:aws_rds_delete_instances resource:aws.rds region:us-east-2 count:5 time:1.97
2026-04-20 14:02:25,805: custodian.actions:WARNING delete implicitly filtered 0 of 5 resources key:DBClusterIdentifier on None
2026-04-20 14:02:25,809: custodian.policy:INFO policy:aws_rds_delete_instances action:delete resources:5 execution_time:0.00
What does this warning mean ?
WARNING delete implicitly filtered 0 of 5 resources key:DBClusterIdentifier on None
What to do such that the instances start getting deleted actually?ajay.gautam
04/23/2026, 5:45 AMaction that works like sleep ?Afif Mohd-Amir
04/23/2026, 4:48 PMkapilt
04/23/2026, 5:10 PMROHAN Jagtap
05/16/2026, 5:16 PMEmFl
05/27/2026, 9:23 AMJohn Torres
05/27/2026, 6:19 PMLijo John
06/01/2026, 11:08 AMMahesh
06/05/2026, 3:53 PMpolicies:
- name: offhours-asg
resource: asg
comments: |
Daily stoppage outside business hours
mode:
type: periodic
schedule: cron(0 * * * ? *)
filters:
- or:
- "tag:Name": "my-tag"
- "tag:cluster": "my-tag"
- "tag:eks:cluster-name": "my-tag"
- or:
- type: offhour
opt-out: true
tag: skip_offhour_scaledown
offhour: 1
default_tz: utc
- type: offhour
opt-out: true
tag: skip_offhour_scaledown
offhour: 5
default_tz: utc
actions:
- stop
- type: notify
slack_template: slack_default
violation_desc: |
Not Applicable
action_desc: |
my description
slack_msg_color: danger
to:
- <https://hooks.slack.com/services>...
We can see this policy runs everyday but not Saturdays (by looking at the slack messages). Isn’t this supposed to be running every evenings and night?Fouzan
06/12/2026, 3:40 PMNhat Ha
06/25/2026, 2:53 AMcryptography package to >=48.0 in our environment due to security requirements, but we're blocked by c7n's pinned dependency.
• What we found:
◦ `c7n 0.9.51`(latest) pins`cryptography`to`46.0.7`
◦ All`c7n`versions`>=0.9.47`are pinned to specific cryptography versions (44.0.3,45.0.7,46.0.5, or`46.0.7`)
◦ `cryptography >=48.0`is incompatible with any current`c7n`release
is there a plan to support cryptography >= 48.0 in an upcoming c7n release? Or is there a recommended workaround (e.g., using a version constraint range instead of a pinned version) that would allow consumers to upgrade cryptography independently?
Thanks!Gianncarlo G
07/27/2026, 7:12 PM