Sign inSign up

maheshcloud1/iam-xray

By maheshcloud1

โ€ขUpdated 10 months ago

Visual AWS IAM analyzer with graphs, risk insights and temporary access visibility.

Image
Security
Developer tools
1

210

maheshcloud1/iam-xray repository overview

Visual IAM graphs, risk insights, & temporary access visibility.


โ ๐Ÿ›ฐ IAM X-Ray โ€” AWS IAM Visualizer (v0.1.0-beta)

Instantly understand โ€œWho can access what?โ€ inside AWS IAM.
IAM X-Ray turns complex IAM permissions into a clean interactive attack graph so cloud engineers, developers, and security teams can debug IAM issues in seconds.

โœ” No backend
โœ” No cloud API
โœ” Your IAM data stays on your machine
โœ” Runs entirely inside Docker


โ ๐ŸŒŸ Key Features

โ ๐Ÿ•ธ 1. Interactive IAM Graph View

Visualizes relationships between:

  • Users

  • Groups

  • Roles

  • Policies

  • Actions & resources

โ ๐Ÿ”Ž 2. Risk Indicators

IAM X-Ray automatically flags:

  • Wildcard permissions ("*" actions)

  • Privilege escalation paths

  • Over-permissive roles

  • Stale users

  • High-risk policies

โ ๐Ÿ”’ 3. Local-First Architecture

Your IAM snapshot never leaves the container or your laptop.

โ ๐Ÿงช 4. Demo Mode Included

Instant preview of how the tool works without AWS credentials.


โ ๐Ÿณ Run IAM X-Ray (1 Command)

โ Step 1 โ€” Pull the image
docker pull maheshcloud1/iam-xray:v0.1.0-beta
โ Step 2 โ€” Run the container
docker run -p 8501:8501 maheshcloud1/iam-xray:v0.1.0-beta
โ Option A โ€” Use AWS CLI Profiles
docker run -p 8501:8501 \
  -v "${USERPROFILE:-$HOME}/.aws:/home/iamx/.aws:ro" \
  -v "$(pwd)/data:/app/data" \
  maheshcloud1/iam-xray:v0.1.0-beta
โ Option B โ€” Environment Variables
docker run \
  -e AWS_ACCESS_KEY_ID=YOUR_KEY \
  -e AWS_SECRET_ACCESS_KEY=YOUR_SECRET \
  -e AWS_SESSION_TOKEN=YOUR_TOKEN \
  -p 8501:8501 \
  maheshcloud1/iam-xray:v0.1.0-beta

Then open:

๐Ÿ‘‰ http://localhost:8501โ 


โ ๐Ÿ” Use Your AWS Account (Env Keys Mode)

Fetch real IAM data securely using temporary credentials:

docker run \
  -e AWS_ACCESS_KEY_ID=YOUR_KEY \
  -e AWS_SECRET_ACCESS_KEY=YOUR_SECRET \
  -e AWS_SESSION_TOKEN=YOUR_TOKEN \
  -p 8501:8501 \
  maheshcloud1/iam-xray:v0.1.0-beta

No credentials are stored โ€” IAM X-Ray only reads them at runtime.


Mount your local ~/.aws folder into the container.

โ Windows (PowerShell)
docker run ^
  -v "$env:USERPROFILE\.aws:/home/iamx/.aws:ro" ^
  -p 8501:8501 ^
  maheshcloud1/iam-xray:v0.1.0-beta
โ *Mac/Linux
docker run \
  -v ~/.aws:/home/iamx/.aws:ro \
  -p 8501:8501 \
  maheshcloud1/iam-xray:v0.1.0-beta

IAM X-Ray will auto-detect your profiles inside the UI.

โ ๐Ÿ”‘ Minimum IAM Permissions Needed

To fetch a complete IAM snapshot:

iam:List*
iam:Get*
iam:Simulate*
sts:GetCallerIdentity
organizations:ListAccounts (optional)

โ ๐Ÿงช Demo Mode (No Credentials Required)

If you don't have AWS credentials:

  • Switch to Demo Mode in the sidebar

  • IAM X-Ray loads a built-in snapshot

  • All graph/table features remain fully functional


โ ๐Ÿ’ก Tech Stack

  • Python 3.11

  • Streamlit UI

  • PyVis graph engine

  • Boto3 AWS integrations

  • PyCryptography (encrypted snapshots)

  • Multi-stage Docker build with obfuscated core


โ ๐Ÿงฑ Image Details

  • Tag: v0.1.0-beta

  • Size: ~200 MB

  • Arch: linux/amd64 (ARM build coming soon)

  • Digest: sha256:48d06bdd1โ€ฆ


โ ๐Ÿž Known Issues (Beta)

  • Very large IAM accounts (>10k principals) may require 2โ€“3 GB RAM

  • Graph layout can take a few seconds on huge snapshots

  • AWS Organizations data optional, not required


โ ๐Ÿค Feedback & Support

Iโ€™d love your feedback to improve IAM X-Ray.

๐Ÿ“ฉ DM: LinkedIn / Instagram
๐Ÿ”ง GitHub Repo: https://github.com/MaheshShukla1/IAM-X-Rayโ  ๐Ÿ› Found a bug? Open an Issue once GitHub releases go live.

Tag summary

Content type

Image

Digest

sha256:48d06bdd1โ€ฆ

Size

199.8 MB

Last updated

10 months ago

docker pull maheshcloud1/iam-xray:v0.1.0-beta