Skip to content
AWS Report is a tool for analyzing amazon resources.
Python Dockerfile
Branch: master
Clone or download
Latest commit 3ef3496 Jan 18, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules
.editorconfig
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
aws_report.py
requirements.txt

README.md

AWS Report

AWS Report is a tool for analyzing amazon resources.


Features

  • Search iam users based on creation date
  • Search buckets public
  • Search security group with inbound rule for 0.0.0.0/0
  • Search elastic ip dissociated
  • Search volumes available
  • Search AMIs with permission public
  • Search internet gateways detached
  • Search RDS with permission public

Install requirements

pip3 install --user -r requirements.txt

Enviroment variables

IAM_MAX_ACCESS_KEY_AGE default is 60 days.

Usage

Usage: aws_report.py [OPTIONS]

Options:
  --s3           Search buckets public in s3
  --iam          Search iam users based on creation date
  --sg           Search security groups with inbound rule 0.0.0.0
  --elasticip    Search elastic IP not associated
  --volumes      Search volumes available
  --ami          Search AMIs with permission public
  --owner TEXT   Defines the owner of the resources to be found
  --igw          Search internet gateways detached
  --rds          Search relational databases with access public
  --region TEXT  Defines the region of resources
  --help         Show this message and exit.

Examples

python3 aws_report.py --s3
python3 aws_report.py --iam
python3 aws_report.py --owner 296193067842 --ami

Running in Docker

docker run -it -e AWS_ACCESS_KEY_ID=you-access-key -e AWS_SECRET_ACCESS_KEY=you-secret-key gmdutra/aws-report --s3

Contact

[+]Email     gmdutra.eu@gmail.com
[+]Linkedin  linkedin.com/in/gmdutra
[+]Twitter   twitter.com/gmdutrax
You can’t perform that action at this time.