How kailashchandrasrisatyadev/grc-multiframework-compliance-mapping works
This is a command-line research tool for ranking security-policy statements against ISO/IEC 27001 and NIST SP 800-53 control catalogues. The principal workflow loads configuration and CSV inputs, verifies and loads an offline sentence encoder, builds catalogue embeddings, ranks candidate controls, assigns review bands and audit-priority scores, and exports reviewable results with provenance. Multi-framework mapping reuses statement embeddings but keeps each framework’s index and queue separate; compatible-run comparison is another documented capability. Some CLI wiring and output details are unsampled, so those links are marked unverified.
Main entry points: cli.py Command CLI · pipeline.py Mapping pipeline · model.py SBERT encoder · multiframework.py Multi-framework map
Components 16
CLI and inputs
- Command CLI
src/grc_mapper/cli.py - Settings
src/grc_mapper/config.py - CSV inputs
src/grc_mapper/data.py - Text validation
src/grc_mapper/text.py
Model and indexing
- Model integrity
src/grc_mapper/integrity.py - Offline loading
src/grc_mapper/offline.py - SBERT encoder
src/grc_mapper/model.py - Mapping pipeline
src/grc_mapper/pipeline.py
Mapping and review
- Framework specs
src/grc_mapper/frameworks.py - Multi-framework map
src/grc_mapper/multiframework.py - Similarity ranking
src/grc_mapper/mapping.py - Review scoring
src/grc_mapper/scoring.py
Outputs and audit
- Result export
src/grc_mapper/export.py - Run provenance
src/grc_mapper/provenance.py - Run comparison
src/grc_mapper/history.py
Other components
- Auditor
Connections 19
- Auditor → Command CLI: invokes
README.md - Command CLI → Settings: resolves settings
src/grc_mapper/cli.py - Command CLI → CSV inputs: loads catalogues
src/grc_mapper/cli.py - CSV inputs → Text validation: validates text
src/grc_mapper/data.py - Command CLI → Mapping pipeline: runs mapping
src/grc_mapper/cli.py - Mapping pipeline → SBERT encoder: loads encoder
src/grc_mapper/pipeline.py - SBERT encoder → Model integrity: verifies model
src/grc_mapper/model.py - SBERT encoder → Offline loading: enforces offline
src/grc_mapper/model.py - Mapping pipeline → Similarity ranking: ranks candidates
src/grc_mapper/pipeline.py - Mapping pipeline → Review scoring: scores mappings
src/grc_mapper/pipeline.py - Command CLI → Framework specs: loads framework spec
src/grc_mapper/cli.py - Command CLI → Multi-framework map: runs multi-map
src/grc_mapper/cli.py - Multi-framework map → Similarity ranking: ranks per framework
src/grc_mapper/multiframework.py - Multi-framework map → Review scoring: scores per framework
src/grc_mapper/multiframework.py - Command CLI → Result export: writes results
src/grc_mapper/cli.py - Command CLI → Run provenance: records run
src/grc_mapper/cli.py - Command CLI → Run comparison: compares runs
src/grc_mapper/cli.py - Result export → Auditor: presents candidates
- Run provenance → Auditor: supports audit