Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.24 KB

README.md

File metadata and controls

23 lines (12 loc) · 1.24 KB

AWS_Inventory

I customised few scripts from paulbayer's Inventory_scripts

All profiles.sh script gathers the AWS profiles information.

aws_user_policy_with_MFA.sh list the users with the attached policies and their MFA status in all aws accounts.

all_my_instances.sh captures details of EC2 instances across all regions

ebs-report.py gathers ebs volume details. It can be run with python ebs-report.py --regions "region-name".

ebs_report_all_regions.sh runs the python script for all regions.

For EBS reort, you have to properly configure the aws cli, it doesnt support defining profiles (--profiles).

For CSV report, go into the CSV folder and run Report.sh
ssconvert needs to be installed on the machine, links for CentOS & Ubuntu

You can also execute individual scripts, for example all_my_instances.sh > EC2.csv

Known Issue : Sometimes you will get all the resources listed twice, as a workaround you can remove/rename the config file insde your .aws directory