Continuous control monitoring: test once, comply many
A unified control library mapped to ISO 27001, NIST CSF 2.0, SOC 2, PCI DSS 4.0 and DORA, with a Python engine that tests the whole control population against system evidence and reports audit readiness for all five in one run.
- Role
- Control design and Python engine
- Period
- 2026
- Status
- Public, synthetic evidence
- Problem
- Point-in-time, sample-based audits miss failures between audits, and each framework gets tested separately for the same controls.
- Key decision
- Rationalise into fifteen unified controls with a crosswalk, and test 100% of the population from system exports with a deterministic engine.
- Result
- One run produces readiness per framework, named exceptions such as an active leaver account or a 36-day-old critical vulnerability, and JSON for GRC platforms.
Architecture
Components and flows as text
| Component | Kind | Technology | Flows out |
|---|---|---|---|
| IdP / HR exports | external service | users · leavers · MFA | → ccm_engine.py: evidence |
| EDR · scanner · SIEM · CSPM | external service | coverage and findings | → ccm_engine.py: evidence |
| Backup · TPRM · LMS | external service | restores · vendors · training | → ccm_engine.py: evidence |
| Unified control library | datastore | 15 controls × 5 frameworks | → ccm_engine.py: controls + crosswalk |
| ccm_engine.py | scheduled job | stdlib only · deterministic | → Report + JSON: readiness per framework |
| Report + JSON | service | Markdown · ServiceNow IRM / Archer | → Risk register: exceptions |
| Risk register | datastore | failures → risks with SLAs | — |
Decisions
Weakest-link roll-up
A framework requirement is rated effective only when every mapped control is effective.
Options considered
- Average scores: looks better, hides the failing control.
- Weakest link: conservative and defensible to an auditor.
Trade-off accepted
Readiness percentages look low until the weakest controls are fixed.
Exceptions are visible, not hidden
Approved risk acceptances are removed from the failure count but always listed in the report.
Options considered
- Silently suppress accepted risks.
- Exclude them from scoring and show them.
Trade-off accepted
Reports are longer.
Deterministic and dependency-free
Standard library only; the same evidence always gives the same result, so an auditor can reproduce it.
Options considered
- A GRC platform plugin.
- A small, reproducible script with tests.
Trade-off accepted
Evidence connectors are exports rather than live APIs.
Failure modes
| Failure | Detection | Handling | Evidence |
|---|---|---|---|
| An evidence export is stale or missing | The control is reported as ineffective, not passed | Missing evidence never counts as success | ccm_engine.py |
What I would change next
- Pull evidence directly from Entra ID and Defender APIs.
Evidence index
Links point to the public repository.