Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlospolop/aws_find_external_accounts
https://github.com/carlospolop/aws_find_external_accounts
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/carlospolop/aws_find_external_accounts
- Owner: carlospolop
- Created: 2023-08-23T19:09:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-27T13:22:19.000Z (8 months ago)
- Last Synced: 2024-10-28T20:44:44.064Z (4 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"]
```