Releases: GoodwayGroup/gw-aws-audit
Releases · GoodwayGroup/gw-aws-audit
v1.1.0
v1.0.0
$ gw-aws-audit help
NAME:
gw-aws-audit - a collection of tools to audit AWS.
USAGE:
gw-aws-audit [global options] command [command options] [arguments...]
VERSION:
v1.0.0
AUTHOR:
Derek Smith <[email protected]>
COMMANDS:
version, v Print version info
s3 S3 related commands
rds RDS related commands
ec2 EC2 related commands
cw CloudWatch related commands
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
COPYRIGHT:
(c) 2020 Goodway Group
There are commands for s3
, ec2
, rds
and cw
s3
$ gw-aws-audit s3
...
COMMANDS:
add-cost-tag Add s3-cost-name to all S3 buckets
metrics Get usage metrics
clear-bucket, exterminatus Clear all Objects within a given Bucket
ec2
$ gw-aws-audit ec2
...
COMMANDS:
enhanced-monitoring Produce report of Enhanced Monitoring enabled instances
detached-volumes List detached EBS volumes and snapshot counts
stopped-hosts List stopped EC2 hosts and associated EBS volumes
rds
$ gw-aws-audit rds
...
COMMANDS:
enhanced-monitoring Produce report of Enhanced Monitoring enabled instances
cw
$ gw-aws-audit cw
...
COMMANDS:
enhanced-monitoring Produce report of Enhanced Monitoring enabled EC2 & RDS instances
0.5.0
0.4.0
$ gw-aws-audit
s3-add-cost-tag Add 's3-cost-name' tag to all buckets
s3-clear-bucket <bucket> Clear ALL objects from a Bucket
s3-bucket-metrics Print out bucket metrics to STDOUT
monitoring-enabled List EC2 & RDS hosts with Enhanced Monitoring enabled
version Print current version of this application
ec2-list-stopped-hosts List stopped EC2 hosts and associated EBS volumes
ec2-list-detached-volumes List detached EBS volumes and snapshot counts
help [command] Display this help or a command specific help
0.3.3
0.3.2
0.3.1
Clear s3 bucket with exponential backoff
$ gw-aws-audit s3-clear-bucket yolo
-- WARNING -- PAY ATTENTION -- FOR REALS --
This will delete ALL objects in yolo
-- THIS ACTION IS NOT REVERSIBLE --
Are you SUPER sure? [yolo]
Enter a value: yolo
Proceeding with batch delete for bucket: yolo
Pages: 127 Listed: 127000 Deleted: 25000 Retries: 139 DPS: 392.85
...
Confirmation required before S3 Bucket clear
$ gw-aws-audit s3-clear-bucket yolo
-- WARNING -- PAY ATTENTION -- FOR REALS --
This will delete ALL objects in yolo
-- THIS ACTION IS NOT REVERSIBLE --
Are you SUPER sure? [yolo]
Enter a value: NOPE
[E] Input must be yolo to coninue. Exiting.
Usage: gw-aws-audit s3-clear-bucket <bucket>
Examples:
gw-aws-audit s3-clear-bucket athena-results-ASDF1337
Initial release
$ gw-aws-audit
ec2-list-detached-volumes List detached EBS volumes and snapshot counts
s3-add-cost-tag Add 's3-cost-name' tag to all buckets
s3-clear-bucket <bucket> Clear ALL objects from a Bucket
version Print current version of this application
ec2-list-stopped-hosts List stopped EC2 hosts and associated EBS volumes
help [command] Display this help or a command specific help