Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/carlospolop/Cloudtrail2IAM


https://github.com/carlospolop/Cloudtrail2IAM

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# Cloudtrail2IAM

**CloudTrail2IAM** is a Python tool that analyzes **AWS CloudTrail logs to extract and summarize actions** done by everyone or just an specific user or role. The tool will **parse every cloudtrail log from the indicated bucket**.

This is useful for red teamers that have **read access over Cloudtrail logs and wants to have more info about the permissions** of the roles and users but **doesn't have read access over IAM**.

*Note that a Cloudtrail bucket might contain hundreds of thousands of log files. So this could take several minutes/hours.*

## Installation

```sh
git clone https://github.com/carlospolop/Cloudtrail2IAM
cd Cloudtrail2IAM
pip install -r requirements.txt
python3 cloudtrail2IAM.py --prefix PREFIX --bucket-name BUCKET_NAME --profile PROFILE [--filter-name FILTER_NAME] [--threads THREADS]
```