How kamboj10/cloudwarden works
CloudWarden is a read-only AWS/Azure security scanner. The principal workflow starts with a user choosing providers and scan options, runs provider-specific checks, combines findings and errors, renders a text/JSON/HTML report, and returns a severity-based exit status. README-described check coverage is grouped by domain; the excerpts show the check implementations and orchestration, but not every individual AWS check body.
Main entry points: cli.py CLI orchestration · models.py Scan result model · aws_checks.py EC2 and VPC · azure_checks.py NSG exposure
Components 12
Scan entry
- CLI orchestration
cloudwarden/cli.py
AWS checks
- EC2 and VPC
cloudwarden/aws_checks.py - S3 access
cloudwarden/aws_checks.py - IAM controls
cloudwarden/aws_checks.py
Azure checks
- NSG exposure
cloudwarden/azure_checks.py - Storage controls
cloudwarden/azure_checks.py
Results and reporting
- Scan result model
cloudwarden/models.py - Report renderers
cloudwarden/report.py
Other components
- Operator
- AWS account
- Azure subscription
- Report consumer
Connections 20
- Operator → CLI orchestration: selects scan
README.md - CLI orchestration → EC2 and VPC: runs checks
README.md - CLI orchestration → S3 access: runs checks
README.md - CLI orchestration → IAM controls: runs checks
README.md - CLI orchestration → NSG exposure: runs checks
README.md - CLI orchestration → Storage controls: runs checks
README.md - EC2 and VPC → AWS account: reads resources
README.md - S3 access → AWS account: reads resources
README.md - IAM controls → AWS account: reads resources
README.md - NSG exposure → Azure subscription: reads resources
README.md - Storage controls → Azure subscription: reads resources
README.md - EC2 and VPC → Scan result model: returns findings
cloudwarden/aws_checks.py - S3 access → Scan result model: returns findings
cloudwarden/aws_checks.py - IAM controls → Scan result model: returns findings
cloudwarden/aws_checks.py - NSG exposure → Scan result model: returns findings
cloudwarden/azure_checks.py - Storage controls → Scan result model: returns findings
cloudwarden/azure_checks.py - CLI orchestration → Scan result model: merges results
cloudwarden/cli.py - CLI orchestration → Report renderers: selects renderer
cloudwarden/cli.py - Report renderers → Scan result model: formats findings
cloudwarden/report.py - CLI orchestration → Report consumer: writes report
cloudwarden/cli.py