Skip to content

Releases: GoodwayGroup/gw-aws-audit

v1.1.0

18 May 14:20
Compare
Choose a tag to compare
v1.1.0

v1.0.0

14 May 22:22
Compare
Choose a tag to compare
$ 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

29 Apr 14:22
Compare
Choose a tag to compare
0.5.0

0.4.0

28 Apr 22:57
Compare
Choose a tag to compare
$ 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

24 Apr 19:45
Compare
Choose a tag to compare
0.3.3

0.3.2

24 Apr 15:47
Compare
Choose a tag to compare
0.3.2

0.3.1

24 Apr 15:34
Compare
Choose a tag to compare
0.3.1

Clear s3 bucket with exponential backoff

24 Apr 15:27
Compare
Choose a tag to compare
$ 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

23 Apr 22:59
Compare
Choose a tag to compare
$ 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

23 Apr 22:31
Compare
Choose a tag to compare
$ 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