AWS Report is a tool for analyzing amazon resources, let us have a look at some of features;
Also Read – nmapAutomator : A Script That You Can Run In The Background
Install requirements
pip3 install –user -r requirements.txt
Environment 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
–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
Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…