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: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/carlospolop/aws_find_external_accounts
- Owner: carlospolop
- Created: 2023-08-23T19:09:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-03T19:16:23.000Z (11 months ago)
- Last Synced: 2024-05-02T01:09:45.548Z (6 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 3
- 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"]
```