A specialized Governance, Risk, and Compliance (GRC) tool designed to streamline SOC 2 compliance. It features both a CLI for rapid risk management and a Web Dashboard for visual analytics and evidence tracking.
- Comprehensive Analytics: 6 interactive charts including Risk Severity, Status, and Heat Map.
- Readiness Checklist: Automated tracking for SOC 2 Type 1 (Design) and Type 2 (Operating Effectiveness).
- Evidence Management: Manage required artifacts (Policies, Logs, Screenshots) with status indicators.
- Security Scanning Module: Automated SOC 2-relevant scanning with:
- Vulnerability Scanner: Identifies security vulnerabilities mapped to CC7.1, CC7.2
- Cloud Configuration Scanner: Detects misconfigurations mapped to CC6.1, CC6.2
- Dependency Scanner: Analyzes software components for risks mapped to CC8.x
- API Attack Surface Scanner: Monitors external endpoints mapped to C1.x
- Real-time findings dashboard with severity tracking and remediation status
- Modern UI/UX: Premium Inter typography, Slate & Indigo theme, and high-contrast Dark Mode.
- Risk Management: Quickly add, score, and manage risks related to Trust Service Criteria (TSC).
- AI-Powered Mapping: Automatically maps risks to relevant SOC 2 Common Criteria (CC) controls using OpenAI.
- Export: Generate audit-ready risk registers in CSV, JSON, or PDF.
pip install git+https://github.com/jahnavisaxena/RiskMap.git# Clone the repository
git clone https://github.com/jahnavisaxena/RiskMap.git
cd RiskMap
# Install dependencies
pip install -r requirements.txt
# Run Web Dashboard
python app.py
# Visit http://localhost:5000riskmap add "Data Breach" --likelihood 4 --impact 5 --category "Security"# Automatically maps to SOC 2 CC controls (e.g., CC6.1)
riskmap add "Unauthorised Access" --desc "Lack of MFA" --likelihood 5 --impact 5riskmap export --format pdfSet your OpenAI API key to enable intelligent control mapping:
# Linux/Mac
export OPENAI_API_KEY="sk-..."
# Windows PowerShell
$env:OPENAI_API_KEY="sk-..."Start the server with python app.py and navigate to http://localhost:5000.
- Audit Scope: Toggle between Type 1 (Point-in-time) and Type 2 (Period of time) views.
- Readiness Tracker: Visual gauge showing your % readiness for the audit.
- Evidence Panel: List of required evidence documents (Green = Ready, Red = Missing).
- Risk Heat Map: Interactive 5x5 matrix (Likelihood × Impact).
- TSC Coverage: Polar chart showing risk distribution across Security, Availability, Confidentiality, etc.
- Control Implementation: Gauge chart tracking mitigated risks vs total risks.
RiskMap/
├── app.py # Flask web server
├── main.py # CLI entry point
├── src/
│ ├── riskmap/
│ │ ├── risk_manager.py # Core logic
│ │ ├── control_mapper.py # AI mapping for SOC 2
│ │ ├── scanner.py # Security scanning module
│ │ └── ...
│ └── data/
│ └── soc2_controls.json # SOC 2 Common Criteria
├── static/
│ ├── css/style.css # Modern styling (Slate/Indigo)
│ └── js/app.js # Dashboard logic & Chart.js
├── templates/
│ └── index.html # Dashboard UI
└── tests/
├── test_core.py # Core functionality tests
└── test_scanner.py # Scanner module tests
- Python 3.8+ & Flask
- Chart.js for visual analytics
- OpenAI GPT-4o-mini for intelligent mapping
- Typer for CLI operations
MIT License
Jahnavi Saxena
