Skip to content
Technological controls
ISO 27001A.8.29

ISO 27001 Annex A 8.29 Security testing in development and acceptance

What it says

Security testing processes shall be defined and implemented in the development life cycle.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Define security testing processes and implement them in the development life cycle, so security requirements are checked before applications or code reach production.

Your organisation must define security testing processes and implement them in the development life cycle, so testing is part of building and accepting a system, not an afterthought. Both are required:

  • Define: set out what is tested, when, by whom and what counts as a pass.
  • Implement: run those tests and act on the results.

Security testing checks a system against its security requirements, such as login, access restrictions and encryption. For bought or outsourced software, testing usually means evaluating it against those requirements before you accept it.

Why it matters

A system can go live with a broken access check or an insecure default setting simply because nobody tested for it. Defined testing during development shows whether security requirements are met before release, when problems are easier to fix.

How to implement

  1. Define which security tests run at each development stage.

    For each stage, set out the test, who runs it and what counts as a pass. For example: code review and scanning during the build, then vulnerability scanning, security function tests and, for important systems, penetration testing before release. Scale the depth to the system's importance and the change's potential impact.

  2. Write test cases from the security requirements.

    Use the requirements set under Annex A 8.26. Cover security functions such as authentication, access restriction and cryptography, then secure coding and the secure configuration of the operating systems and firewalls the system relies on. Give each case its inputs, expected result and pass criteria, and include attempts that should be refused.

  3. Run developer tests, then independent acceptance tests.

    Use someone who did not build the system, such as a colleague from another team or a contracted tester, for acceptance. Test in an environment as close to production as you can make it, so results are reliable. Annex A 8.31 keeps that environment separate, and Annex A 8.33 covers test data.

  4. Fix failures, retest and decide before release.

    Track each finding until a retest shows it is fixed. Automated tools can do the scanning, but have someone confirm the fix worked. Hold the release, or record who accepted the risk, when a finding stays open.

  5. Evaluate bought or outsourced software against your security requirements.

    Put them in the supplier agreement where you can (Annex A 5.20). Before buying, try it out or get the supplier's independent test report for the version you will use. Once bought, test your own configuration, roles and integrations. Agree any test of a live service first (Annex A 8.34).

Keep it running

Re-run the relevant tests when a system, a component or its configuration changes, and when a new kind of flaw is found. Update test cases when security requirements change, and check that test environments still resemble production.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    The defined security testing process for the development life cycle.

    Look at

    Whether it names the tests at each stage, who runs them and what counts as a pass, and how depth varies with a system's importance.

    Good evidence

    The process sets tests at named stages, says who runs them and how depth varies, and has pass criteria clear enough that two testers would reach the same result.

  2. Check 2 of 5What an auditor asks for

    Ask for

    Recent releases from the deployment log, matched to security test records.

    Look at

    Whether each release has results dated before it went live, whether the tests in the process actually ran, and who ran the acceptance test.

    Good evidence

    Every sampled release has results for that version from the tests and testers the process names, dated before deployment.

  3. Check 3 of 5What an auditor asks for

    Ask for

    The security requirements for one system, matched to its test cases, with a demonstration of one refused action.

    Look at

    Whether each requirement has a test, and whether tests include attempts that should be refused, such as access without the right role.

    Good evidence

    Every requirement has a test with an expected result, and the action is refused when repeated in the demonstration.

  4. Check 4 of 5What an auditor asks for

    Ask for

    Failed test results and their retests.

    Look at

    Whether defects were retested, and whether any release went ahead with a finding still open.

    Good evidence

    Each failure has a retest showing the fix or a decision by the accountable person, made before release.

  5. Check 5 of 5What an auditor asks for

    Ask for

    The acceptance evidence for a bought or outsourced system.

    Look at

    Whether the report or test covers the version you accepted and the configuration you use, and whether it was compared with your security requirements.

    Good evidence

    The evidence covers the version you accepted and was compared with your requirements before you bought or accepted it, and your own configuration was tested before go-live.

Mappings

Closest match in ASD Information Security Manual: ISM-0402, Software vulnerability testing using SAST, DAST and SCA, which this control covers in full and more.

ISO 42001

ISO/IEC 42001: 1 mapping

  • A.6.2.4AI system verification and validationPartially overlaps
ASD ISM

ASD Information Security Manual: 23 mappings

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.

Get help with this control

ISO 27001 training

Mindset Cyber, a PECB Authorised Titanium Partner, sells official PECB ISO/IEC 27001 courses that map directly to the controls in this library.