Skip to content

Monitor AWS Managed IAM Policies Changes

License

zoph-io/MAMIP

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”Š MAMIP

AWS Managed Policy Changes Archive

Build Status License Website

Track every change to AWS Managed IAM Policies with full version history and validation.

🌐 Visit the Website β€’ πŸ“Š Browse Policies β€’ ℹ️ About


πŸ–₯️ Companion Website

Explore AWS Managed IAM Policies through our modern, searchable web interface:

MAMIP Website

Features:

  • πŸ” Search & Filter - Instantly find any policy among 1,465+ managed policies
  • πŸ“ˆ Track Changes - View full version history and git diffs for every policy
  • πŸ†• Spot New Features - Discover v1 policies indicating new AWS services
  • πŸ’» Syntax Highlighting - Read policy documents with color-coded JSON
  • πŸ“± Responsive Design - Works seamlessly on desktop and mobile

✨ Key Features

πŸ“Š Comprehensive Monitoring

  • 1,465+ Policies Tracked - All AWS Managed IAM Policies monitored continuously
  • Real-Time Updates - Automated checks every 4 hours on weekdays
  • Version History - Full git history for every policy change
  • Deprecation Tracking - Historical records of 73+ deprecated policies

πŸ”” Multi-Channel Notifications

Stay informed about policy changes through your preferred channel:

  • πŸ¦‹ Bluesky: @mamip.bsky.social
  • 𝕏 X/Twitter: @mamip_aws
  • πŸ“§ AWS SNS: arn:aws:sns:eu-west-1:567589703415:mamip-sns-topic
  • πŸ”” GitHub: Watch this repository for releases

βœ… Policy Validation

Every policy validated using AWS Access Analyzer:

  • Security analysis and best practice checks
  • Syntax validation and resource analysis
  • Detailed findings stored in findings/ directory

πŸ—οΈ Technical Stack

  • Serverless: ECS Fargate with Spot instances
  • Infrastructure: Terraform (full IaC)
  • Validation: AWS Access Analyzer
  • CI/CD: GitHub Actions
  • Frontend: Next.js 15 + Tailwind CSS

πŸ—οΈ How It Works

Architecture

Automated workflow running every 4 hours (Mon-Fri):

  1. πŸ”„ Fetch - Retrieve all AWS Managed IAM Policies via AWS CLI
  2. πŸ” Compare - Detect new, updated, or deprecated policies
  3. βœ… Validate - Run AWS Access Analyzer policy validation
  4. πŸ’Ύ Store - Commit changes to git with individual commits per policy
  5. πŸ“’ Notify - Send alerts via Bluesky, X/Twitter, SNS, and GitHub
  6. 🌐 Deploy - Update the companion website automatically

πŸš€ Quick Start

Subscribe to Updates

Option 1: Social Media (Recommended)

# Follow on Bluesky
https://bsky.app/profile/mamip.bsky.social

# Follow on X/Twitter
https://x.com/mamip_aws

Option 2: AWS SNS Email Notifications

aws sns subscribe \
  --topic-arn arn:aws:sns:eu-west-1:567589703415:mamip-sns-topic \
  --protocol email \
  --notification-endpoint [email protected]

Option 3: GitHub

  • ⭐ Star this repository and enable "Releases only" notifications
  • πŸ“‘ Subscribe to RSS feed

Browse Policies

Visit mamip.zoph.io for the full searchable archive with:

  • Policy search and filtering
  • Full version history and git diffs
  • Syntax-highlighted JSON viewer
  • Brand new (v1) policy tracking

πŸ“‚ Repository Structure

MAMIP/
β”œβ”€β”€ policies/          # 1,465+ AWS Managed IAM Policies (JSON)
β”œβ”€β”€ findings/          # Policy validation results from Access Analyzer
β”œβ”€β”€ DEPRECATED.json    # Historical record of 73+ deprecated policies
β”œβ”€β”€ automation/        # Python scripts & Terraform infrastructure
β”œβ”€β”€ website/           # Next.js companion website source code
└── assets/            # Documentation and images

Browse the data:

πŸ› οΈ Technical Details

Infrastructure

  • Compute: AWS ECS Fargate (Spot instances for cost optimization)
  • Schedule: CloudWatch Events (every 4 hours, Mon-Fri)
  • IaC: Terraform configuration in automation/tf-fargate/
  • Container: Python 3.x with AWS CLI and git
  • Secrets: AWS Secrets Manager for GitHub token storage

Required AWS Permissions

iam:ListPolicies, iam:GetPolicyVersion
access-analyzer:ValidatePolicy
secretsmanager:GetSecretValue
sns:Publish, sqs:SendMessage
s3:GetObject, s3:PutObject

Monitoring

  • CloudWatch Logs for execution tracking
  • SNS alerts on failures
  • GitHub Actions status badges

πŸ“ˆ Stats

Metric Count
Active Policies 1,465
Deprecated Policies 73
Brand New (v1) 20
Most Modified ReadOnlyAccess (97 versions)

πŸ’‘ Credits & Inspiration

This project is inspired by Scott Piper's original aws_managed_policies repository. MAMIP extends this concept with:

  • βœ… Fully automated infrastructure and monitoring
  • βœ… Comprehensive AWS Access Analyzer validation
  • βœ… Multi-channel notifications (Bluesky, X, SNS, GitHub)
  • βœ… Modern searchable web interface
  • βœ… Complete deprecation lifecycle tracking

Thank you, Scott, for pioneering this valuable resource!

πŸ“„ License

GNU General Public License v3.0 - see LICENSE for details.


🌐 Visit Website β€’ πŸ“Š Browse Policies β€’ πŸ¦‹ Follow on Bluesky β€’ 𝕏 Follow on X

Made with ❀️ by zoph.io β€” AWS Cloud Advisory Boutique

Build Status License

This is an unofficial archive and is not affiliated with Amazon Web Services (AWS).

Sponsor this project

 

Languages

  • TypeScript 55.4%
  • Python 15.7%
  • HCL 9.2%
  • Shell 7.7%
  • Makefile 5.6%
  • JavaScript 4.4%
  • Other 2.0%