-
Notifications
You must be signed in to change notification settings - Fork 812
/
stats_config.yaml
142 lines (142 loc) · 3.89 KB
/
stats_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
- name: S3 buckets
query: .Buckets|length
source: s3-list-buckets
- name: EC2 instances
query: '[.Reservations[]?.Instances[]?|select(.State.Name == "running")]|length'
source: ec2-describe-instances
- name: ELBs
query: .LoadBalancerDescriptions|length
source: elb-describe-load-balancers
- name: ELBv2s
query: .LoadBalancers|length
source: elbv2-describe-load-balancers
- name: RDS instances
query: .DBInstances|length
source: rds-describe-db-instances
- name: Redshift clusters
query: .Clusters|length
source: redshift-describe-clusters
- name: ElasticSearch domains
query: .DomainNames|length
source: es-list-domain-names
- name: Elasticache clusters
query: .CacheClusters|length
source: elasticache-describe-cache-clusters
- name: SNS topics
query: .Topics|length
source: sns-list-topics
- name: SQS queues
query: .QueueUrls|length
source: sqs-list-queues
- name: CloudFronts
query: .DistributionList.Items|length
source: cloudfront-list-distributions
region: us-east-1
- name: Autoscaling groups
query: .AutoScalingGroups|length
source: autoscaling-describe-auto-scaling-groups
- name: ElasticBeanstalks
query: .Applications|length
source: elasticbeanstalk-describe-applications
- name: Firehose streams
query: .DeliveryStreamNames|length
source: firehose-list-delivery-streams
- name: Glacier vaults
query: .VaultList|length
source: glacier-list-vaults
- name: KMS keys
query: .Keys|length
source: kms-list-keys
- name: Lambda functions
query: .Functions|length
source: lambda-list-functions
- name: Glue Jobs
query: .Jobs|length
source: glue-get-jobs
- name: Glue Triggers
query: .Triggers|length
source: glue-get-triggers
# - name: Kafka clusters
# query: .ClusterInfoList|length
# source: kafka-list-clusters
# Verbose resources
- name: Route53 hosted zones
query: .HostedZones|length
source: route53-list-hosted-zones
verbose: true
- name: Route53 domains
query: .Domains|length
source: route53domains-list-domains
verbose: true
- name: EC2 AMIs
query: .Images|length
source: ec2-describe-images
verbose: true
- name: Network ACLs
query: .NetworkAcls|length
source: ec2-describe-network-acls
verbose: true
- name: Route tables
query: .RouteTables|length
source: ec2-describe-route-tables
verbose: true
- name: EC2 snapshots
query: .Snapshots|length
source: ec2-describe-snapshots
verbose: true
- name: VPC endpoints
query: .VpcEndpointConnections|length
source: ec2-describe-vpc-endpoint-connections
verbose: true
- name: VPN connections
query: .VpnConnections|length
source: ec2-describe-vpn-connections
verbose: true
- name: DirectConnects
query: .connections|length
source: directconnect-describe-connections
verbose: true
- name: CloudSearch domains
query: .DomainStatusList|length
source: cloudsearch-describe-domains
verbose: true
- name: ECR repositories
query: .repositories|length
source: ecr-describe-repositories
verbose: true
- name: CloudFormation stacks
query: .Stacks|length
source: cloudformation-describe-stacks
verbose: true
- name: EFS
query: .FileSystems|length
source: efs-describe-file-systems
verbose: true
- name: Cloudwatch alarms
query: .MetricAlarms|length
source: cloudwatch-describe-alarms
verbose: true
- name: Config rules
query: .ConfigRules|length
source: config-describe-config-rules
verbose: true
- name: Event rules
query: .Rules|length
source: events-list-rules
verbose: true
- name: Log groups
query: .logGroups|length
source: logs-describe-log-groups
verbose: true
- name: ACM Certificates
query: .CertificateSummaryList|length
source: acm-list-certificates
verbose: true
- name: DynamoDB Tables
query: .TableNames|length
source: dynamodb-list-tables
verbose: true
- name: Internet Gateways
query: '[.InternetGateways[]?.Attachments[]?|select(.State == "available")]|length'
source: describe-internet-gateways
verbose: true