How sannidhisriram-06/cloud-compliance-vendor-risk works
This lab combines AWS cloud-compliance monitoring and a separate vendor-risk assessment workflow, with a Flask GRC dashboard presenting both. The primary cloud workflow evaluates sandbox resources, routes failed findings through EventBridge to a Lambda processor, enriches and consolidates them in S3, then exposes the register in the dashboard. Vendor intake is scored and reported by a CLI engine, with its assessment also available to the dashboard. Terraform and README document the cloud wiring; the Lambda excerpt is partial, so finer internal call relationships are not inferred.
Main entry points: vendor_risk_assessment.py Vendor Scoring · risk_register_processor.py Finding Processor · eventbridge_lambda.tf EventBridge Rules · app.py GRC Dashboard
Components 14
Cloud Audit
- Demo Resources
terraform/vulnerable_resources.tf - AWS Config
terraform/config.tf - Security Hub CIS
terraform/security_hub.tf
Risk Register
- EventBridge Rules
terraform/eventbridge_lambda.tf - Finding Processor
lambda/risk_register_processor.py - Finding Objects
- Risk Register
Vendor Risk
- Vendor Questionnaire
vendor-risk/vendor_intake_questionnaire.csv - Vendor Scoring
vendor-risk/vendor_risk_assessment.py - Vendor Assessment
vendor-risk/sample_vendor_assessment.json - Assessment Report
vendor-risk/sample_vendor_report.md
GRC Portal
- GRC Dashboard
grc/app/app.py - Dashboard View
grc/app/templates/index.html
Other components
- Assessment Operator
Connections 15
- Demo Resources → AWS Config: evaluated by
README.md - Demo Resources → Security Hub CIS: evaluated by
README.md - AWS Config → EventBridge Rules: emits failures
README.md - Security Hub CIS → EventBridge Rules: emits failures
README.md - EventBridge Rules → Finding Processor: invokes
README.md - Finding Processor → Finding Objects: writes findings
README.md - Finding Objects → Finding Processor: lists for rebuild
README.md - Finding Processor → Risk Register: rebuilds register
README.md - Assessment Operator → Vendor Scoring: runs assessment
README.md - Vendor Scoring → Vendor Questionnaire: loads questions
vendor-risk/vendor_risk_assessment.py - Vendor Scoring → Vendor Assessment: writes assessment
README.md - Vendor Scoring → Assessment Report: writes report
README.md - Risk Register → GRC Dashboard: reads register
README.md - Vendor Assessment → GRC Dashboard: reads assessment
grc/app/app.py - GRC Dashboard → Dashboard View: renders view
grc/app/app.py