PASSISOAUDIT · REF: PIA-CTL-8.28 ISO/IEC 27001:2022 + AMD 1:2024 · LAST REVIEWED 23 NOV 2026
Annex A · Control 8.28 · Technological · New in 2022

ISO 27001 Annex A 8.28 secure coding: what auditors want to see

Control 8.28 asks you to write code securely, check that you did, and expect the same from anyone who codes for you. Scripts and automations that run in production count too.

Control
8.28
Theme
Technological
Status
New in 2022
Covered by
Secure development policy
Short answer

ISO 27001 Annex A 8.28 requires secure coding principles to be applied to software development, in-house or outsourced. In practice: a written secure coding standard (often based on OWASP), developers trained on it, pull request reviews that check security, and dependency and secret scanning. If nobody writes code that runs in production, you may exclude it with a justification.

Who wrote this

Brian Colborne, a deployment engineer with 25 years of testing whether systems work the way their documentation says they do. He runs independent pre-audit diagnostics on ISO 27001 management systems. About PassISOaudit

The requirement

What does ISO 27001 control 8.28 require?

Control 8.28 covers the whole development life: before, during and after coding.

  1. Before coding: agree a secure coding standard and train developers on it.
  2. During coding: follow it, avoid known vulnerability patterns, and protect secrets.
  3. Review and test: peer review with security in mind, plus static and dependency scanning.
  4. After release: patch vulnerabilities, keep dependencies updated, and fix issues found in testing.
The audit test

What evidence does an auditor ask for on 8.28?

An auditor testing 8.28 picks a recent merged change and asks to see the review, who approved it, which checks ran, and what happened to any security alert they raised.

What the auditor looks for

  • A secure coding standard
  • Developer training records
  • Code review records that cover security
  • Scanning results for code and dependencies, with fixes
  • Contract terms requiring secure coding from outsourced developers

Gaps to check before the audit

  • No standard, or one copied and never used
  • Reviews approved with no security check recorded
  • Known vulnerable libraries left in production
  • Secrets such as API keys committed to code repositories
For small companies

How does a small company meet 8.28?

A small software company meets 8.28 with OWASP guidance as its standard, the dependency and secret scanning its code platform offers, and a security line on the review checklist. If you only write scripts or low-code automations, apply a light version. If you write no code at all, record a justified exclusion in your Statement of Applicability.

Evidence list: the minimum 8.28 record set for a team of 2 to 10 developers
RecordHow oftenWhere it comes from
Secure coding standard (2 to 4 pages, OWASP-based, your languages)Reviewed yearlySecure development policy
Developer training recordOn joining, then yearlyTraining log
Pull requests with an approving review before mergeEvery changeBranch protection or ruleset on the main branch
Dependency alerts and how they were closedContinuous; triaged weeklyDependabot or equivalent
Secret scanning alertsContinuousCode platform or a pre-commit hook
Supplier secure coding clauseAt contract and renewalDevelopment contracts (see 8.30)

A practical rule of thumb (our advice, not a requirement of the standard): if code that you or a supplier wrote runs in production and touches your data or your clients' data, 8.28 applies, whatever language or platform it is in.

The exclusion is where we see 8.28 go wrong in pre-audit diagnostics: the Statement of Applicability still says "not applicable, no software development" while the company now builds its own tools, scripts or integrations. A justification written at certification goes stale quietly. Check it against what your team actually runs before each audit. The frequencies in the evidence list above are sensible defaults, not rules of the standard.

Related controls: 8.9 Configuration management · 8.11 Data masking · 8.12 Data leakage prevention.

FAQ

Control 8.28 questions

Do I need 8.28 if we do not develop software?

If you do no development, in-house or outsourced, you can usually exclude 8.28 with a justification in the Statement of Applicability. Scripts, macros, low-code automations and serverless functions that run in production count as development, so check before excluding, and recheck the exclusion each year.

Is OWASP required for ISO 27001?

No. ISO 27001 does not name OWASP. OWASP guidance, such as the OWASP Top 10 and the secure coding practices checklist, is a widely used and credible basis for a secure coding standard.

Which GitHub settings help evidence 8.28?

Three GitHub settings do most of the work: a branch protection rule or ruleset requiring an approving review before merge, Dependabot alerts (available on all plans), and secret scanning with push protection. Secret scanning is on by default for public repositories; on private repositories it needs GitHub Secret Protection, which Team plans can buy (GitHub Docs). GitHub records the alerts; you record what you decided.

Can a pull request approval count as a secure code review?

Yes, if the review is required and covers security. Require at least one approval on the main branch, and add a short security checklist (input validation, authentication, secrets, dependencies) to the pull request template. Branch protection on private repositories needs a paid GitHub plan.

Is 8.28 the same as 8.25 secure development life cycle?

No. Control 8.25 sets the rules for the whole development life cycle; control 8.28 covers the coding itself. A small company can cover both, with 8.29 testing and 8.30 outsourced development, in one secure development policy.

What is the minimum for 8.28 in a two-developer startup?

A two-developer startup can meet 8.28 with a short coding standard, one recorded training session a year, required pull request reviews (each developer reviews the other), and dependency and secret scanning switched on. The records matter more than the size of the standard.

Do developers need secure coding certification for ISO 27001?

No. ISO 27001 does not require developer certification. It requires developers to be competent in secure coding, which a dated training record shows, such as an internal OWASP Top 10 session or an online course; repeating it yearly is a sensible default.

Does AI-generated code fall under 8.28?

Yes. Code written with AI assistants is still your code under 8.28. It goes through the same review, scanning and testing, and your standard should say which AI tools developers may use and that client data is not pasted into them.

How does 8.28 apply to outsourced developers?

Control 8.28 applies to outsourced code too. Put secure coding requirements in the contract, ask for evidence such as scan results or review records, and test what they deliver before it goes live (see 8.30).

PASSISOAUDIT · ISO/IEC 27001:2022 TOOLKITS NOT AFFILIATED WITH ISO OR ANY CERTIFICATION BODY.