The challenge
Enterprise prospects were stalling deals over lengthy security questionnaires and asking for a SOC 2 Type II report. The engineering team shipped many times a day, but code review was informal, secrets occasionally appeared in repositories and nobody tracked vulnerable dependencies.
The company needed controls that auditors would accept without slowing its release cadence.
Our solution
We combined secure development consulting with SOC 2 readiness support over five months.
- Assessed maturity with OWASP SAMM and agreed a realistic roadmap with engineering leadership.
- Introduced lightweight threat modelling for new features handling customer data.
- Added static analysis, dependency scanning, secret scanning and software bills of materials to the CI pipeline, tuned to keep noise low.
- Configured branch protection and mandatory peer review so change-management evidence was generated automatically.
- Delivered secure coding workshops for the team's main languages.
Approach
We treated developer experience as a security requirement. Tools that produce hundreds of irrelevant warnings are switched off within weeks, so every scanner was introduced in report-only mode, tuned against the real codebase and only then allowed to block merges for high-confidence, high-severity issues. Secret scanning ran on every push, with a short guide explaining how to rotate a leaked credential.
Threat modelling was kept deliberately small: a thirty-minute session for any feature touching customer data, recorded as a short template in the pull request. Over time these records became one of the most useful artefacts for answering customer questionnaires, because they showed security decisions being made, not just documented.
The same controls served both goals. Branch protection, peer review and pipeline checks produced exactly the change-management evidence the SOC 2 auditors sampled, without manual screenshots or spreadsheets. Engineering leadership tracked SAMM scores and time-to-fix in its regular planning reviews.
Outcome
Within five months the average SAMM score more than doubled, high-severity code findings were typically fixed within a week, and no secrets reached main branches after secret scanning was enforced. The SOC 2 Type II audit period ran with change-management evidence produced automatically by the pipeline. Security questionnaires that previously took days were answered in hours, using threat models and pipeline reports as supporting evidence.
Lessons learned
- Introduce scanners in report-only mode first; block only on findings developers trust.
- Design controls so evidence is a by-product of normal work, not an extra task before the audit.
- Small, frequent threat models beat large, rare ones in fast-moving teams.
The company now uses its secure development evidence proactively in enterprise sales conversations.
This is an illustrative, anonymised case study. Client details have been changed or combined to protect confidentiality.

