Skip to content

carlospolop/aws_find_external_accounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AWS Find External Accounts

This script allows to help you finding external AWS accounts that have access to roles inside the account of the indicated profile.

Quick Start

pip3 install -r requirements.txt

# Help
python3 aws_find_external_accounts.py -h
usage: aws_find_external_accounts.py [-h] -p PROFILE [PROFILE2 PROFILE3] [-k KNOWN_ACCOUNTS]

Find external accounts with access to this one.

options:
  -h, --help            show this help message and exit
  -p PROFILE, --profile PROFILE [PROFILE2 PROFILE3]
                        AWS profile/s to check.
  -k KNOWN_ACCOUNTS, --known-accounts KNOWN_ACCOUNTS
                        One or more comma separated AWS acoounds id that are known and you want
                        to filter from the results.

# Run example
python3 aws_find_external_accounts.py -p profile-name [profile-name2 profile-name3] [--known-accounts "123123123123,456456456456"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages