Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/carlospolop/aws_find_external_accounts


https://github.com/carlospolop/aws_find_external_accounts

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# This functionality was added to https://github.com/carlospolop/aws_iam_review

Check that tool if you want a more complete IAM review

# 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

```bash
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"]
```