9.1.2. Maturity Models, DevSecOps, and Shift-Left
💡 First Principle: Secure development is a set of organizational habits, not a set of tools, and habits can be measured. A maturity model turns "are we doing secure development well?" into a scored answer: which practices exist, how consistently they run, and whether anyone improves them. DevSecOps is the operating model that makes those practices routine in teams that ship continuously, and shift-left is the reason it pays: a defect is cheaper to remove the less work has been built on top of it. For any program decision, ask: what is the next maturity step this organization can sustain, and what is the earliest point at which this kind of flaw could have been caught?
Maturity models: prescriptive or descriptive?
| Model | Kind | Structure | Best used for |
|---|---|---|---|
| CMM / CMMI | Process maturity, not security-specific | Five levels describing how disciplined and measured the development process is | Showing processes are repeatable before trusting security activities to them |
| OWASP SAMM (v2) | Prescriptive, open | 5 business functions (Governance, Design, Implementation, Verification, Operations), 15 security practices, 3 maturity levels per practice | Self-assessment, then a target state and roadmap per practice |
| BSIMM | Descriptive | Activities observed in participating firms, grouped into 12 practices across 4 domains (Governance, Intelligence, SSDL Touchpoints, Deployment); published annually | Benchmarking against what peer organizations actually do |
Capability Maturity Model levels: the original Software CMM from Carnegie Mellon's Software Engineering Institute (SEI) named its levels 1 Initial (ad hoc, success depends on individual heroics), 2 Repeatable (basic project management lets a team repeat earlier successes), 3 Defined (one documented, organization-wide standard process), 4 Managed (the process is controlled with quantitative data) and 5 Optimizing (continuous, data-driven improvement). Its successor, CMMI, keeps five steps but renames level 2 Managed and level 4 Quantitatively Managed. The SEI's IDEAL model (Initiating, Diagnosing, Establishing, Acting, Learning) is the improvement cycle used to climb from one level to the next.
Prescriptive versus descriptive: SAMM tells you what to do next: score each practice, pick a target that fits your risk and budget, and plan the gap. BSIMM tells you what others do, so "below the BSIMM average" is a benchmarking observation, not a compliance failure. Use a prescriptive model for the roadmap and a descriptive one for context. Neither certifies a product: both measure the program that produces software, not the software itself.
DevSecOps as an operating model: DevOps made the team that builds a service also responsible for running it; DevSecOps adds security to that shared ownership. What distinguishes it is organizational: security requirements sit in the same backlog as features, security criteria are part of the definition of done, guardrails are automated so teams serve themselves, and a small central application security function sets standards, tunes tools and coaches through security champions instead of signing off every release. Buying scanners without changing ownership produces findings nobody owns. Pipeline mechanics are in 9.5.1, tool families in 9.2.1.
Integrated Product Team (IPT): a cross-functional team, a practice that grew out of US defense acquisition, that brings together everyone with a stake in a product (business owner, developers, testers, operations, security, privacy, procurement, user representatives) from the start and through the product's life. Requirements and design trade-offs are made inside the IPT, so a security member shapes them, while an outside reviewer can only object afterwards. A DevOps product team is a modern form of the idea.
Shift-left economics: a design flaw caught on paper changes a document; the same flaw found in production changes code, tests and deployments, and may bring incident response and regulatory exposure. Be careful with the figures often attached to this principle: ratios such as "1x in requirements, 100x in production" come from Barry Boehm's studies of general (not security) defects in large projects in the 1970s and 1980s, and from a widely copied chart attributed to IBM course notes whose underlying data has never been traced. They show a direction, not a measured cost. Shifting left adds early checks; it does not remove late ones, because runtime and pre-release testing still catch what design review and code scanning cannot.
Operation, maintenance and change: most software spends most of its life in maintenance, and every fix, configuration change and dependency update is a small development cycle that can reintroduce a flaw. Production changes go through change management with a security impact analysis (8.3.3), and regression tests that include security test cases confirm a change did not reopen an old flaw. Developers should not push their own unreviewed changes to production; in a DevOps team the pipeline enforces that separation through peer-reviewed merges and automated deployment (9.5.2).
⚠️ Exam Trap: Level names differ between models. "Managed" is level 4 in the Software CMM but level 2 in CMMI, and "Repeatable" exists only in the Software CMM. Read the description in the question (project-level discipline, an organization-wide standard process, quantitative control, continuous improvement) rather than matching the label. And a high maturity score does not mean an application is secure: it measures how reliably the organization performs its practices, not the flaws in any one product.
Reflection Question: A CIO tells the board the company is "now DevSecOps" because it bought a scanning suite, and calls three practices where a BSIMM comparison shows it below average "compliance gaps". Developers still hand finished releases to a central security group for sign-off. What is wrong with each claim, which model would you use to plan the next twelve months, and what organizational change would make the scanning suite effective?