Skip to content

Learn. Share. Innovate.

  • Home
    • Overview
    • Latest Articles
    • Featured Tutorials
  • AI
    • Generative AI Basics
    • Prompt Engineering
    • AI-Driven DevOps
    • Agentic AI & Workflows
    • AI Automation Use Cases
  • Cloud Solutions
    • AWS
    • Azure
    • Google Cloud
  • DevOps Tools
    • CI/CD
    • Infrastructure as Code
      • Terraform
      • Ansible
    • Monitoring & Logging
    • Scripting & Automation
  • Containers & Orchestration
    • Docker
    • Kubernetes
    • ArgoCD
  • Home
  • AWS SOC 2 Readiness Checker: Validate Compliance Across AWS & MongoDB Atlas

AWS SOC 2 Readiness Checker: Validate Compliance Across AWS & MongoDB Atlas

Posted on September 17, 2025September 17, 2025 By admin No Comments on AWS SOC 2 Readiness Checker: Validate Compliance Across AWS & MongoDB Atlas
AWS, AWS Best Practices, Cloud Computing

AWS SOC 2 Readiness Checker — Compliance Made Easy

A Python-based tool to quickly assess SOC 2 readiness across AWS services and MongoDB Atlas. Get pass/fail reports in table, JSON, or interactive HTML format.

GitHub Repo: https://github.com/bibhutimail/aws-SOC2-compliance-checker

Contents

  • Overview
  • Features
  • Prerequisites
  • Setup
  • AWS Credentials
  • MongoDB Atlas Credentials
  • Usage Examples
  • Skip or Include Atlas Checks
  • Full Example
  • Output Formats
  • Extending Checks
  • Troubleshooting

Overview

The AWS SOC 2 Readiness Checker helps you evaluate security and compliance controls across AWS and MongoDB Atlas. It validates IAM, CloudFront, API Gateway, ECS, ECR, S3, CloudWatch, NLB, and Atlas resources — providing actionable insights into SOC 2 posture.

Features

  • Checks IAM, CloudFront, API Gateway, NLB, ECS, ECR, S3, CloudWatch, and MongoDB Atlas
  • Modular checks for each service
  • Outputs results in table or JSON
  • Error handling and pagination support

Prerequisites

  • Python 3.7+
  • AWS credentials configured (environment variables, AWS CLI, or instance profile)
  • MongoDB Atlas API keys (optional)

Setup

git clone https://github.com/bibhutimail/aws-SOC2-compliance-checker
cd aws-SOC2-compliance-checker
python -m venv .venv
.venv\Scripts\activate   # (Windows)
source .venv/bin/activate  # (Linux/Mac)
pip install boto3 requests tabulate

AWS Credentials

The script uses your default AWS credentials. Configure them with:

  • aws configure (recommended)
  • Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as environment variables
  • Use EC2 instance profile or IAM role

MongoDB Atlas Credentials (Optional)

To check Atlas:

  • Atlas Public Key
  • Atlas Private Key
  • Atlas Project ID

Generate API keys under Organization Access Management in Atlas UI.

Usage Examples

Run all checks

python soc2_checker.py

Use a specific AWS profile

python soc2_checker.py --profile myprofile

Export to JSON

python soc2_checker.py --output report.json

Export to interactive HTML

python soc2_checker.py --output report.html

Skip or Include Atlas Checks

# Skip Atlas
python soc2_checker.py --skip-atlas

# Include Atlas
python soc2_checker.py --atlas-public-key <PUBLIC_KEY> --atlas-private-key <PRIVATE_KEY> --atlas-project-id <PROJECT_ID>

Full Example

python soc2_checker.py --output soc2_report.html \
  --atlas-public-key ABC \
  --atlas-private-key XYZ \
  --atlas-project-id 1234567890abcdef

Output Formats

  • Console Table (default)
  • JSON (--output file.json)
  • Interactive HTML (--output file.html)

Each result includes: Service, Control, Status (Pass/Fail), and Details.

Extending Checks

Each service check is a separate function in soc2_checker.py. Add new checks by creating new functions and calling them from main().

Troubleshooting

  • Ensure AWS credentials are valid and permissions are sufficient.
  • For MongoDB Atlas, verify API keys and project ID.
  • If errors occur, review the Details column in output.

🔍 This tool helps DevOps, Security, and Compliance teams quickly validate SOC 2 readiness across AWS and MongoDB Atlas environments.

Tags: API Gateway AWS Cloud CloudWatch Compliance DevOps ECR ECS IAM MongoDBAtlas Python S3 Security SOC2

Post navigation

❮ Previous Post: Building a Java Application Monitoring Dashboard: Metrics, Plugins & Best Practices

You may also like

AWS Best Practices
Placeholder for AWS Best Practices
August 9, 2025
AWS
Setting Up AWS API Gateway with EC2 Backend (Step-by-Step Guide)
August 21, 2025
AWS
AWS Transfer Family Setup Guide: S3-Backed SFTP/FTPS/FTP with WinSCP Access
September 5, 2025
Cloud Computing
Placeholder for Cloud Computing
August 9, 2025

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • AWS SOC 2 Readiness Checker: Validate Compliance Across AWS & MongoDB Atlas
  • Building a Java Application Monitoring Dashboard: Metrics, Plugins & Best Practices
  • AWS Transfer Family Setup Guide: S3-Backed SFTP/FTPS/FTP with WinSCP Access
  • Git Change Visualizer: Author-Specific Branch Diff Reports Across Multiple Repos
  • Setting Up AWS API Gateway with EC2 Backend (Step-by-Step Guide)

Recent Comments

  1. ishika on Top AI & DevOps VS Code Extensions for Faster, Smarter Development

Archives

  • September 2025
  • August 2025
  • July 2025
  • September 2024

Categories

  • Agentic AI & Workflows
  • AI-Driven DevOps
  • Automation Examples
  • AWS
  • AWS Best Practices
  • Azure
  • Azure Best Practices
  • Case Studies & Projects
  • Cheat Sheets
  • CI/CD
  • Cloud Computing
  • Cloud Security
  • Code Snippets
  • Compliance Standards
  • Compute & Networking
  • Container Security
  • Containers & Orchestration
  • DevOps Security
  • DevOps Tools
  • Docker Basics & Advanced
  • Generative AI Basics
  • GitOps
  • Helm Charts & Operators
  • Infrastructure as Code
  • Kubernetes Concepts & Deployments
  • Kubernetes Security Best Practices
  • Migration Stories
  • Monitoring & Logging
  • Performance Optimization
  • PowerShell
  • Prompt Engineering
  • Python for DevOps
  • Real-World Implementations
  • Recommended Books & Courses
  • Scripting & Automation
  • Security & Compliance
  • Security & IAM
  • Security & Identity
  • Shell Scripting
  • Storage & Databases
  • Tips & Resources
  • Tools & Utilities
  • Troubleshooting Guides
  • Uncategorized
  • Home
  • AI
  • Cloud Solutions
  • DevOps Tools
  • Containers & Orchestration
  • Home
  • AI
  • Cloud Solutions
  • DevOps Tools
  • Containers & Orchestration

Copyright © 2025 feenixdv

Theme: Oceanly News by ScriptsTown