Skip to main content

AWS DevOps X: Human-friendly, interactive AWS DevSecOps CLI tool.

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.

AWDX Banner


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
  • Smart Suggestions: Receive actionable best-practice tips after every action
  • Human-Friendly CLI: Simple, memorable commands and interactive prompts
  • Future: AI/NLP-powered natural language commands

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

Profile Management

Manage AWS profiles with security best practices and validation.

Profile Management Commands

# 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.

Cost Management Commands

# 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.

IAM Management Commands

# 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.

S3 Security Commands

# 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.

Secret Management Commands

# 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

Security Assessment

Comprehensive security posture assessment, vulnerability scanning, and incident response.

Security Assessment Commands

# 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

  • AI-Powered Insights: Natural language queries and intelligent recommendations
  • 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

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
  • ๐Ÿšง 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awdx-0.0.8.tar.gz (78.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awdx-0.0.8-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file awdx-0.0.8.tar.gz.

File metadata

  • Download URL: awdx-0.0.8.tar.gz
  • Upload date:
  • Size: 78.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for awdx-0.0.8.tar.gz
Algorithm Hash digest
SHA256 1c9117dbe2b0c5d5792ea9df6e22a9c9eecc39594eba0f80fe5bec030cf16243
MD5 223f27c16d34993951ef02f41cade4d2
BLAKE2b-256 0e12e1c7a10dfec716e3e67fc87ce1f9411e82385e43bb2a8b6ab7b2e21a5338

See more details on using hashes here.

File details

Details for the file awdx-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: awdx-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for awdx-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2122cf2be34c08e0cd995358513d12193de0eb27803ec8ad12665c0e0667c7fe
MD5 529c22f3d9ed766e2616ee59d7b73e95
BLAKE2b-256 f8abfa82a389594ec8d4e0f3a87799689772386d5516b30dea7587030db3d020

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page