- Foundation — identity, secrets & repo hygienePublished
- Shift Left — security in the pipelinePublished
- Supply Chain — dependencies, IaC & artefactsPublished
- Runtime & Response — detect and reactPublished
- 5Govern & Mature — policy, metrics & evidenceYou're reading this
DevSecOps Program · Part 5 — Govern & Mature: Policy, Metrics & Evidence
The finale of the DevSecOps Program: codify policy-as-code everywhere, monitor controls continuously, map one control to six frameworks, and measure control health that can't be gamed.
This is Part 5 — the final part of the DevSecOps Program. The four parts before it built capability: Part 1 laid the foundation (asset inventory, identity, a threat model, the baseline of what you own). Part 2 shifted security left into the developer's inner loop and gated the source, dependencies and secrets in CI. Part 3 secured the supply chain — infrastructure-as-code scanning, SBOMs for every build, signed and verifiable artefacts. Part 4 turned to the running system — centralised logging, runtime detection, high-signal alerting and a rehearsed incident-response plan. Each of those parts produces signals: merge gates, scan results, SBOMs, signatures, logs, alerts, incident records, tabletop notes. Part 5 is where that pile of signals becomes a governed program — one that enforces its own standards automatically, monitors its controls continuously, produces audit evidence as a by-product, measures its own health, and can prove all of it across every framework you answer to at once. This is the phase where a collection of controls becomes a program that demonstrates its own effectiveness.
Scope of this phase
Every part of this program is scope-bounded so you know exactly when you are done and are not tempted to boil the ocean.
- In scope: policy-as-code everywhere (codifying organisational standards so they enforce automatically and are versioned in Git with an approver on every change, extending the OPA/Conftest gates from Part 3 across the whole estate); continuous control monitoring (observing each control operate on every relevant event rather than testing it once per audit cycle); cross-framework evidence (mapping one control to overlapping requirements in ISO 27001, SOC 2, ENS, NIS2, DORA and GDPR — map once, reuse everywhere); control-health metrics (coverage, MTTR, gate override rate, evidence freshness, escaped findings — computed from the same pipeline data that produces the evidence); and the maturity model (L0→L4) plus the shared-ownership culture that sustains it.
- Explicitly out of scope: nothing is deferred — this is the last part. What is out of scope by design is the idea that governance is a document exercise. Policies nobody enforces, spreadsheets of controls tested annually, and evidence assembled the week before an audit are exactly what this phase replaces.
- Definition of done: the exit checklist at the end of this part. When every box is ticked, your standards are codified and enforced in pipelines, your controls are observed continuously against their full evidence population, one control satisfies many frameworks through a maintained crosswalk, and a small set of health metrics — derived from the same data that produces the evidence — tells you honestly whether the program is working.
The order matters. You govern last because there is nothing to govern until the controls exist. With Parts 1–4 in place, every control already emits a signal; Part 5 does not add new controls so much as put a governing loop around the ones you have — enforcing them by code, watching them operate, and turning their output into proof.
From a pile of controls to a governed program
By the end of Part 4 you have a lot of security doing. What you do not yet have is a way to guarantee it keeps happening, to know whether it is actually effective, or to prove it to an auditor without a scramble. Three gaps remain, and Part 5 closes each one:
- Enforcement drifts. A standard that lives in a Confluence page is a suggestion. Someone forgets it, a new repo skips it, an exception becomes the norm. The only standard that holds is one a machine enforces on every change.
- Assurance is sampled. The traditional audit tests a control once, on a sample — "show me five change tickets from last quarter." That tells you the control worked five times. It says nothing about the other several thousand changes.
- Evidence is redundant and manual. The same branch-protection setting gets screenshotted for the ISO audit, re-screenshotted for SOC 2, and described again in the ENS documentation — three times the work to prove one fact three ways.
Governance is the layer that turns doing into a managed, provable, improving practice. It is what lets you say — and demonstrate — not just "we have controls" but "our controls are enforced by code, observed continuously, and mapped to every obligation we carry."
Policy-as-code, everywhere
Part 3 introduced OPA and Conftest to gate infrastructure-as-code before it provisioned. Part 5 generalises that pattern: any standard you can state as a rule should be enforced as a rule, in a pipeline, on every change — not audited after the fact. Codifying policy does three things a wiki page cannot. It enforces uniformly (the rule does not get tired or make exceptions). It is versioned — the policy lives in Git, so every change to a standard has a diff, a date, an author and an approver, which is itself audit evidence of change control over your controls. And it fails closed at the moment of change, catching the violation before it exists rather than flagging it a quarter later.
The pattern extends far beyond Terraform. Encryption requirements, mandatory resource tagging, allowed base images, branch-protection settings, required reviewers, network-egress rules — all of them can be a policy checked in CI. Here is a minimal rule that denies any storage resource created without encryption at rest:
package main
deny contains msg if {
resource := input.resource_changes[_]
resource.type == "aws_s3_bucket"
not resource.change.after.server_side_encryption_configuration
msg := sprintf(
"S3 bucket '%s' must enable encryption at rest",
[resource.address],
)
}The rule is short, readable and testable, and it lives beside the code it governs. A change that would create an unencrypted bucket never merges — and the Git history of this file is a dated, approver-signed record that the encryption standard existed and was enforced from a specific day. Policy-as-code is where a control and the evidence that the control exists become the same artefact.
Continuous control monitoring
A control is only worth as much as its consistency. The traditional way to check consistency is point-in-time testing: once a year, an auditor samples a handful of events and confirms the control operated. Continuous control monitoring (CCM) replaces the sample with the population. Instead of testing a control once per audit cycle, you observe it operating on every relevant event, continuously, and record the result.
The difference is not subtle. Point-in-time sampling answers "did this control work on these five changes?" CCM answers "did this control work on all 4,000 changes this year, and here are the three times it didn't and how each was resolved." You are no longer offering an auditor a sampled snapshot and asking them to trust that it is representative — you are offering the full population of evidence and letting them see the exceptions themselves.
CCM is a natural consequence of the earlier parts. Every gate from Parts 2–4 already fires on every change and already emits a result. CCM is the discipline of capturing those results as a continuous evidence stream: every merge-gate pass, every policy evaluation, every signature verification, every runtime scan, timestamped and attributed. The control does not have to be re-tested at audit time because it has been under observation the entire time. This is also what makes the metrics later in this part trustworthy — they are computed from the same event stream, not self-reported.
Evidence as a by-product, mapped across frameworks
Here is the payoff of the entire program. A startup or SME rarely answers to a single framework. You might be pursuing ISO 27001 certification, undergoing a SOC 2 examination, meeting ENS for a Spanish public-sector contract, falling in scope for NIS2 as an important entity, carrying DORA obligations as a financial-sector ICT provider, and handling personal data under GDPR — sometimes several of these at once. Approached naively, that is six separate compliance projects. Approached correctly, it is one.
One control, many frameworks
Map once, reuse everywhere — the evidence a single control emits satisfies overlapping requirements across every framework at once.
The insight is the crosswalk: the frameworks overlap enormously because they are all describing sound security practice from different angles. One well-implemented control satisfies many requirements at once. Branch protection with mandatory review is change-management evidence for ISO 27001 A.8.32, for SOC 2 CC8.1, and for the ENS operational-access and change controls — simultaneously. MFA on privileged access satisfies an access-control requirement in every one of the six. You implement the control once, map it once, and reuse the evidence everywhere.
The mapping itself is data, and it belongs in version control like everything else — one control, its implementation, and the list of framework requirements it discharges:
control: branch-protection-mandatory-review
description: Protected default branch; ≥1 approving review; no force-push
evidence: github/branch_protection API + merge-gate CCM stream
satisfies:
iso27001: [A.8.32, A.8.4] # change management, source code access
soc2: [CC8.1] # change management
ens: [op.acc.4, op.exp.10] # access segregation, change control
nis2: ["Art.21(2)(e)"] # secure development & change handling
dora: ["Art.9"] # ICT protection & change control
gdpr: ["Art.32"] # security of processingWhen the CCM stream shows this control operated cleanly on every merge, that single evidence stream is automatically the evidence for six framework requirements. Add a seventh framework later and you are not re-collecting evidence — you are adding a few lines to the satisfies: map. This is why governance is the destination of the whole program: everything you built in Parts 1–4 becomes reusable, framework-mapped proof, generated as a by-product of the system doing its job rather than assembled by hand under audit pressure.
Metrics that measure control health, not activity
Vanity metrics measure motion: number of scans run, tickets closed, alerts fired. They go up and to the right and tell you nothing about whether you are actually safer. Control-health metrics measure whether the controls are working — and because they are computed from the same pipeline and CCM data that produces your evidence, they cannot be gamed by a team optimising for a number. A useful, deliberately small set:
| Metric | What it actually measures | Why it resists gaming |
|---|---|---|
| Control coverage | % of assets (from the Part 1 inventory) actually protected by each control | Denominator is the real inventory, not a self-selected sample |
| MTTR | Mean time to remediate a finding from detection to fix-in-production | Both timestamps come from the pipeline, not a status field |
| Gate override rate | How often an engineer bypasses a failing gate | A rising override rate exposes a control being routed around |
| Evidence freshness | Age of the most recent evidence for each control | A control that stopped emitting shows up as stale, not as "passing" |
| Escaped findings | Issues found in production that a gate should have caught | Counts the failures of the system, not its successes |
Read together, these tell an honest story. Coverage says how much of the estate the control reaches; MTTR says how fast you close what you find; override rate and escaped findings are the two that reveal a program quietly degrading — controls being bypassed and controls missing things — long before an incident makes it obvious. Evidence freshness is the canary for CCM itself: if a control's evidence stops arriving, the control has probably stopped running. Track a handful well rather than a dashboard of dozens; the goal is decisions, not decoration.
Maturity is a direction, not a destination
It helps to have a shared vocabulary for where the program stands and where it is going. A simple L0→L4 ladder does the job.
DevSecOps maturity ladder
Climb from L0 (ad-hoc) to L4 (continuous, audit-ready) one phase at a time.
- L0 — Initial: security is ad hoc and reactive. Controls exist only where an individual remembered to add them; nothing is enforced or measured.
- L1 — Repeatable: basic controls are in place and documented, but enforcement is manual and inconsistent. This is roughly where Parts 1–2 leave you.
- L2 — Defined: controls are standardised and enforced in pipelines — policy-as-code, gated CI, signed artefacts. Parts 2–3 live here.
- L3 — Managed: controls are monitored continuously and measured. CCM is running, health metrics are computed, evidence is mapped across frameworks. This is the destination of Part 5.
- L4 — Optimising: the program improves itself. Metrics feed back into which controls to tighten, incidents feed new gates, and the maturity of the program is itself under management.
The important thing about the ladder is that L4 is not a finish line. New services, new dependencies, new frameworks, new threats and new team members arrive continuously, and each one can pull a mature program back down a rung if the governing loop does not catch it. Maturity is a direction you keep moving in, not a certificate you earn once. A program at L3 that stops paying attention drifts back to L1 within a year. The metrics from the previous section are how you notice the drift while it is still cheap to correct.
Shared ownership is what sustains it
None of this survives as one team's private project. Policy-as-code only scales if developers accept the gates as part of how software ships rather than as an obstacle to route around — and the override-rate metric is precisely the early warning that they have stopped accepting it. CCM and metrics only stay honest if the people who own the controls also own their health numbers. The durable version of this program is one where security is a shared property of the whole engineering and GRC organisation: developers own the gates in their pipelines, service owners own the coverage and MTTR for their services, and GRC owns the crosswalk and the evidence story. Culture is not the soft part of DevSecOps; it is the mechanism by which everything technical in Parts 1–5 keeps running after the people who built it have moved on.
The program, complete
Step back and look at the whole arc. Part 1 — Foundation established what you own and what threatens it. Part 2 — Shift Left moved security into the developer's hands and gated the pipeline. Part 3 — Supply Chain made every build's contents known, scanned and verifiable. Part 4 — Runtime & Response gave you eyes on the running system and a rehearsed way to react. Part 5 — Govern & Mature wrapped a governing loop around all of it: enforced by policy-as-code, observed by continuous control monitoring, proven once and reused across ISO 27001, SOC 2, ENS, NIS2, DORA and GDPR, and measured by health metrics that keep everyone honest.
The most important thing to carry away is that this is not a project you finish — it is a continuous operating state you enter. There is no day when the program is "done" and you stop. Code keeps shipping, dependencies keep changing, CVEs keep landing, frameworks keep evolving, and the loop keeps turning: enforce, observe, prove, measure, improve. What changes once Part 5 is in place is that the program now sustains and demonstrates itself. Security stops being a periodic scramble and becomes the default steady state of how you build — a practice that produces its own evidence, watches its own health, and improves in a direction rather than lurching between audits.
That steady state is exactly what ISMShed is built to run. It ingests the signals this whole program produces — policy evaluations, gate results, CCM streams, SBOMs, signatures, runtime findings, incident records — and maps them continuously to controls across ISO 27001, ENS, NIS2, DORA, SOC 2 and GDPR, so your evidence is always current, always framework-mapped, and always a by-product rather than a project; its AI Compliance Copilot turns "prove control X across all six frameworks" into a question you can just ask. And if you would rather stand the governing loop up with experienced hands — codifying your first policies, wiring CCM, building the crosswalk and agreeing the metrics that matter — Axelia's DevSecOps and GRC consultants run the program alongside you. Build it once, govern it continuously, and prove it everywhere.
