AWS DevOps X: Gen AI-powered AWS DevSecOps CLI tool with natural language interface.
Project description
awdx
awdx (AWS DevOps X) is a next-generation, human-friendly CLI tool for AWS DevSecOps. It helps you manage, automate, and secure your AWS environment with simple, interactive commands and smart suggestions.
Table of Contents
Features
- Profile Management: Create, switch, and validate AWS profiles interactively
- Cost Intelligence: Advanced cost analysis with anomaly detection and forecasting
- IAM Management: Comprehensive IAM security audit and compliance checking
- S3 Security: Complete S3 bucket security assessment and compliance monitoring
- Secret Management: Automated secret discovery, rotation, and compliance
- Security Assessment: Comprehensive security posture and vulnerability scanning
- Task Automation: 40+ high-level DevSecOps automation commands with AI enhancement
- AI-Powered Interface: Natural language commands with Google Gemini integration
- MCP Server: Model Context Protocol integration for AI assistants
- Smart Suggestions: Receive actionable best-practice tips after every action
- Human-Friendly CLI: Simple, memorable commands and interactive prompts
Requirements
Installation
From Source
pip install .
From PyPI
pip install awdx
๐ฆ Available on PyPI: awdx on PyPI
Quick Start
Show help and available commands:
awdx --help
Modules
AWDX with Gen AI + NLP based CLI execution
๐ค Revolutionary AI-powered natural language interface that understands your DevSecOps intent! Chat with your AWS infrastructure using plain English. No more memorizing complex commands - just ask AWDX what you want to accomplish.
# Ask anything in natural language
awdx ai ask "show me all my AWS profiles"
๐ค Analyzing your request...
๐ก Intent: list_profiles
๐ฏ AWDX Command: awdx profile list
โจ Confidence: 95%
# Interactive AI chat session
awdx ai chat
๐ค AWDX AI Assistant ready! Ask me anything about your AWS environment.
๐ฌ You: "What are my highest cost services this month?"
๐ค I'll help you analyze your AWS costs. Running: awdx cost summary
๐ฐ Your top 3 services: EC2 ($567.89), S3 ($234.56), RDS ($123.45)
๐ก Suggestion: Consider EC2 reserved instances to save up to 30%
# Get intelligent explanations
awdx ai explain "awdx iam audit --fix"
๐ง Command Breakdown:
๐ awdx iam audit: Performs comprehensive IAM security assessment
๐ง --fix flag: Automatically remediates safe issues
โ ๏ธ Security Note: Review changes before applying in production
๐ฏ Best Practice: Run without --fix first to preview changes
๐ก AI Features: โข Smart Intent Recognition - 25+ supported DevSecOps intents โข Google Gemini Integration - Powered by advanced AI models โข Security-First - Built-in security recommendations and warnings โข Context Awareness - Understands your AWS environment and suggests workflows โข Interactive Chat - Conversational DevSecOps automation
๐ Full Documentation: AI Features | AI Engine Architecture
MCP Server Integration
๐ Model Context Protocol (MCP) server for AI assistant integration! Connect AWDX to Claude Desktop, ChatGPT, and other AI assistants for seamless DevSecOps automation.
# Start MCP server
awdx mcp start
๐ MCP server is ready to accept connections!
Connect your AI assistant to: localhost:3000
# List available tools
awdx mcp tools
Profile Management
awdx_profile_list List all AWS profiles configured in AWDX
awdx_profile_switch Switch to a different AWS profile
awdx_profile_add Add a new AWS profile
Cost Analysis
awdx_cost_summary Get AWS cost summary and analysis
awdx_cost_trends Analyze cost trends over time
awdx_cost_optimize Get cost optimization recommendations
# Test connection
awdx mcp test
โ Connection successful!
Server: AWDX MCP Server v1.0.0
๐ก MCP Features: โข 17 MCP Tools - All AWDX capabilities exposed as standardized tools โข AI Assistant Integration - Connect to Claude Desktop, ChatGPT, and custom assistants โข Real-time AWS Data - Live access to AWS resources and security posture โข Secure Communication - Local execution with AWS credential management โข Standardized Protocol - Compatible with MCP-compliant AI assistants
๐ Full Documentation: MCP Integration
Profile Management
Manage AWS profiles with security best practices and validation.
# List all profiles
awdx profile list
๐ค Found 3 profiles:
๐ฏ ๐ค default (current)
๐ค devops
๐ค prod
# Switch profiles
awdx profile switch devops
โ
To switch profile, run:
export AWS_PROFILE=devops
# Validate credentials
awdx profile validate devops
โ
Profile 'devops' is valid. Account: 123456789012, ARN: arn:aws:iam::123456789012:user/devops
๐ Full Documentation: Profilyze Module README
Cost Analysis
Monitor, analyze, and optimize AWS spending with intelligent insights.
# Get cost summary
awdx cost summary
๐ฐ Total Cost: $1,234.56
๐ Top 10 Services by Cost:
1. Amazon EC2 $567.89
2. Amazon S3 $234.56
3. Amazon RDS $123.45
# Detect anomalies
awdx cost anomaly --threshold 2.5
๐ Detecting cost anomalies for the last 30 days...
๐ Average daily cost: $123.45
๐ Standard deviation: $45.67
โ
No significant anomalies detected!
# Forecast costs
awdx cost forecast --months 3
๐ฎ Forecasting costs for the next 3 months...
๐ Trend direction: Upward
๐ Monthly change: $45.67
๐ฏ Trend confidence: 85.2%
๐ Full Documentation: Costlyzer Module README
IAM Management
Comprehensive IAM security audit, compliance checking, and smart automation.
# Security audit
awdx iam audit
๐ Starting comprehensive IAM security audit...
๐ Checking root account usage...
โ
Using IAM user/role
๐ Checking MFA configuration...
โ HIGH: 3 users without MFA
๐ Audit Summary:
๐ด Critical Issues: 0
๐ High Issues: 1
๐ก Medium Issues: 1
# Analyze access patterns
awdx iam access
๐ Analyzing IAM access patterns...
๐ค admin (user)
โก Total Permissions: 45
๐ฏ Privileged: 12
โ Wildcards: 3
# Smart recommendations
awdx iam smart --auto-fix --dry-run
๐ Generating smart IAM recommendations...
1. ๐ด Remove unused users ๐ค
2. ๐ Rotate old access keys ๐ค
3. ๐ด Review wildcard permissions ๐ค
๐ Full Documentation: IAMply Module README
S3 Security & Compliance
Complete S3 bucket security assessment, compliance monitoring, and automated remediation.
# Comprehensive S3 audit
awdx s3 audit
๐ชฃ Starting comprehensive S3 security audit...
๐ Checking bucket configurations...
โ
Encryption: Enabled
โ HIGH: Public access detected
๐ Audit Summary:
๐ด Critical Issues: 0
๐ High Issues: 2
๐ก Medium Issues: 3
# Scan for vulnerabilities
awdx s3 scan --type public
๐ Scanning for public S3 buckets...
๐จ Found 2 publicly accessible buckets:
- my-public-bucket (HIGH RISK)
- test-bucket (MEDIUM RISK)
# Compliance assessment
awdx s3 compliance --framework sox
๐ Assessing SOX compliance for S3...
โ
Encryption controls: PASS
โ Access logging: FAIL
โ
Versioning: PASS
๐ Full Documentation: S3ntry Module README
Secret Management
Automated secret discovery, rotation, compliance monitoring, and smart remediation.
# Discover all secrets
awdx secret discover
๐ Discovering secrets across AWS services...
๐ Found 15 secrets:
- 8 in Secrets Manager
- 5 in Parameter Store
- 2 in IAM access keys
โ HIGH: 3 secrets expired
โ ๏ธ MEDIUM: 5 secrets expiring soon
# Rotate secrets
awdx secret rotate my-secret-id
๐ Rotating secret: my-secret-id
โ
Secret rotated successfully
๐
Next rotation: 2024-02-15
# Monitor secret health
awdx secret monitor --days 30
๐ Monitoring secret health for last 30 days...
โ
Successful rotations: 12
โ Failed rotations: 1
โ ๏ธ Expiring soon: 3
๐ Full Documentation: Secrex Module README
Task Automation
๐ High-level DevSecOps task automation and productivity commands! Streamline your DevSecOps workflows with intelligent automation that combines multiple AWS services into single, powerful commands.
# Comprehensive security audit
awdx task security-audit --comprehensive --fix-safe
๐ Starting comprehensive security audit across AWS services...
๐ IAM Security: Checking users, roles, and policies
๐ก๏ธ EC2 Security: Analyzing security groups and encryption
๐ชฃ S3 Security: Validating bucket configurations
๐ Secrets: Auditing secret rotation and age
๐ Audit Summary: 3 high issues, 5 medium issues found
๐ง Auto-fixing safe issues: 2 issues resolved
# Cost optimization with AI insights
awdx task cost-optimize --auto-fix --dry-run
๐ฐ Analyzing AWS costs for optimization opportunities...
๐ EC2 Optimization: Found 3 oversized instances
๐๏ธ RDS Optimization: 2 instances can be downsized
๐ Potential Savings: $234.56/month (15% reduction)
๐ค AI Recommendation: Consider reserved instances for predictable workloads
# Compliance validation
awdx task compliance-check --framework sox --output pdf
๐ Validating SOX compliance across AWS services...
โ
IAM Controls: PASS
โ
Data Protection: PASS
โ Access Logging: FAIL (2 issues)
๐ Generating compliance report: sox_compliance_report.pdf
# Continuous security monitoring
awdx task security-monitor --continuous --alert
๐ก๏ธ Starting continuous security monitoring...
๐ Monitoring: IAM changes, S3 access, EC2 security
๐จ Alerts: Configured for critical security events
โฐ Interval: 5 minutes
๐ฑ Notifications: Slack, email, SMS
๐ก Task Module Features: โข 40+ Automation Commands - From basic security audits to complex infrastructure automation โข AI-Enhanced Workflows - Intelligent insights and recommendations when AI is configured โข Multi-Service Integration - Combines IAM, EC2, S3, RDS, Lambda, and more โข Compliance Frameworks - SOX, HIPAA, PCI-DSS, SOC2, ISO27001, NIST support โข Rich Output Formats - Table, JSON, CSV, and PDF reports โข Graceful AI Fallback - Works perfectly without AI configuration
๐ Full Documentation: Task Module Summary
Security Assessment
Comprehensive security posture assessment, vulnerability scanning, and incident response.
# Security posture assessment
awdx security posture
๐ก๏ธ Starting comprehensive security posture assessment...
๐ Network Security: 85/100
๐ IAM Security: 92/100
๐ Data Protection: 78/100
๐ Overall Security Score: 85/100
# Vulnerability scanning
awdx security vulnerabilities --service ec2
๐จ Scanning EC2 instances for vulnerabilities...
๐ Found 5 security issues:
- 2 open security groups (HIGH)
- 1 unencrypted EBS volume (MEDIUM)
- 2 outdated AMIs (LOW)
# Incident response
awdx security incident --type breach
๐จ Initiating incident response for security breach...
๐ Investigation checklist:
- CloudTrail logs analysis
- IAM access review
- Resource access audit
- Threat detection alerts
๐ Full Documentation: SecuTide Module README
Future Plans
Upcoming Features
- Multi-Cloud Support: Extend beyond AWS to Azure and GCP
- Integration Hub: Connect with popular DevOps tools and CI/CD pipelines
- Real-time Monitoring: Live cost and security monitoring with alerts
- Advanced AI: Multi-modal processing and workflow automation
Enterprise Features
- Team Collaboration: Multi-user support with role-based access
- Audit Trails: Comprehensive logging and compliance reporting
- Custom Policies: Define organization-specific security and cost policies
- API Access: RESTful API for integration with existing tools
Project Status
Active development with comprehensive module coverage. The project follows a modular architecture allowing for easy extension and customization.
Current Status
- โ Profilyze Module: Complete with full feature set
- โ Costlyzer Module: Complete with smart analytics
- โ IAMply Module: Complete with security audit and compliance
- โ S3ntry Module: Complete with security assessment and compliance
- โ Secrex Module: Complete with secret management and rotation
- โ SecuTide Module: Complete with security posture and incident response
- โ Task Module: Complete with 40+ high-level automation commands
- โ AI Engine: Complete with Google Gemini integration and natural language processing
- โ MCP Server: Complete with Model Context Protocol integration
- โ Core Infrastructure: Stable and production-ready
- โ Documentation: Comprehensive guides and examples
Contributing
We welcome contributions! See our Contributing Guide for details on how to get started.
Community
- ๐ Documentation: GitHub Wiki
- ๐ Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
- ๐ License: MIT License
๐จโ๐ป Author & Attribution
AWDX is created and maintained by Partha Sarathi Kundu (@pxkundu).
Independence Notice: AWDX is developed independently and is not affiliated with, endorsed by, or sponsored by any organization, university, or company.
Copyright & License
- Copyright: ยฉ 2024 Partha Sarathi Kundu. All rights reserved.
- License: MIT License - see LICENSE for details
- Trademark: "AWDX" and "AWS DevOps X" are trademarks of Partha Sarathi Kundu
Citation
If you use AWDX in academic research or commercial projects, please cite:
Kundu, P. S. (2024). AWDX: AWS DevOps X - Gen AI-powered AWS DevSecOps CLI tool.
GitHub. https://github.com/pxkundu/awdx
For academic papers (BibTeX):
@software{awdx2024,
author = {Kundu, Partha Sarathi},
title = {AWDX: AWS DevOps X - Gen AI-powered AWS DevSecOps CLI tool},
year = {2024},
url = {https://github.com/pxkundu/awdx},
note = {MIT License}
}
Contact
- Email: inboxkundu@gmail.com
- GitHub: @pxkundu
- Project: https://github.com/pxkundu/awdx
Support & Troubleshooting
- ๐ Troubleshooting Guide: TROUBLESHOOTING.md - Common issues and solutions
- ๐ Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
Contributors
See AUTHORS.md for a complete list of contributors and their contributions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awdx-0.0.16.tar.gz.
File metadata
- Download URL: awdx-0.0.16.tar.gz
- Upload date:
- Size: 203.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3d0ad622cd3500e621c80db02552a8eb283520a7a0b239fae82bb87fdc97e3a
|
|
| MD5 |
f88acf33a81f9f9fb4968eb1206e0c25
|
|
| BLAKE2b-256 |
0258bd5f8b3ac39820e5ef4596569ceeffaa47309dc41856eecddbba747af9af
|
File details
Details for the file awdx-0.0.16-py3-none-any.whl.
File metadata
- Download URL: awdx-0.0.16-py3-none-any.whl
- Upload date:
- Size: 192.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5024ecf78967492777450d07fd05e144915478c03fd552a1f49b80ab6c6ca4af
|
|
| MD5 |
27d25ad76a4e349efab10afda2735f0c
|
|
| BLAKE2b-256 |
18b9a380e2de1b34967a87f1d002b550aacbcede23164eea6a0b81b21c211790
|