Comments (2)
also it's pretty hard to help with content edits. You just can't click and edit like other github projects.
There's a better yaml that you can cut and paste and use (file name: tagexample.yml)
policies:
- name: ec2-tag-compliance-mark
resource: ec2
comment: |
Mark non-compliant, Non-ASG EC2 instances with stoppage in 4 days
filters:
- "State.Name": running
- "tag:aws:autoscaling:groupName": absent
- "tag:c7n_status": absent
- or:
- "tag:Owner": absent
- "tag:CostCenter": absent
- "tag:Project": absent
actions:
- type: mark-for-op
op: stop
days: 4
run it by custodian run -s . tagexample.yml --dryrun
and custodian run -s . tagexample.yml
from cloud-custodian.
I think we want to add the configuration for mark for op to use custodian_status or c7n_status versus maid_status
from cloud-custodian.
Related Issues (20)
- CloudTrail advanced selectors support HOT 1
- c7n-left - support cli command to dump graph and input variables
- SSL Validation Error for aws.connect-campaign policy
- Need support for configuring registry scanning configuration in aws.ecr resource
- Secrets Manager not working with Cloudtrail and DeleteSecret HOT 2
- Delete hosted zone fails when hosted zone contains record with no TTL
- auto-tag aws userName on resources has botocore.errorfactory.InvalidParameterValueException HOT 1
- Support set-inline-policy for iam roles
- ec2-auto-tag-user example doesn't work HOT 7
- AWS account filter service-limits runs into unrefreshable check ID c1dfprch07 HOT 6
- Add generic filter support for matching a list item that meets conditions on multiple fields HOT 3
- Eventbridge Rules - Support non-default event buses
- Enable reporting / checking on AWS IAM User Code Commit Security Credentials
- deprecations should have documentation examples on conversion
- Custodian job errors/failures potentially because of exhaustion of ephemeral ports on the instance
- Enable lambda-mode for AWS Cloud Control Provider HOT 1
- releng - support python 3.12 HOT 1
- Filter 'lifecycle-rule' for a AWS ECR doen't work with multiple lifecycle policies
- Support Python 3.11 Lambda Runtime HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-custodian.