ISO IEC 27002 2022 — 8.29 Security testing in development and acceptance
source: false
type: canonical-control-reference
standard: "ISO/IEC 27002"
document_version: "2022"
element_id: "8.29"
family_id: "8"
family: "Technological Controls"
title: "Security testing in development and acceptance"
status: active
assessment_criterion: true
reference_basis: "user-supplied licensed ISO canonical publication"
normative_text_included: true
source_location: "PDF pages 134–136; printed pages 124–126"
updated: 2026-09-11
scf_mappings: ["IAO-02", "IAO-02.2", "TDA-02", "TDA-02.3", "TDA-06.1", "TDA-09"]
authoritative_sources:
- "ISO/IEC 27002:2022 canonical PDF"
text_kind: guidance
source_text_verified: true
8.29 Security testing in development and acceptance
Control Attributes
| Attribute | Value |
|---|---|
| Control type | #Preventive |
| Information security properties | #Confidentiality #Integrity #Availability |
| Cybersecurity concepts | #Identify |
| Operational capabilities | #Application_security #Information_security_assurance #System_and_network_security |
| Security domains | #Protection |
Control
Security testing processes should be defined and implemented in the development life cycle.
Purpose
To validate if information security requirements are met when applications or code are deployed to the production environment.
Guidance
New information systems, upgrades and new versions should be thoroughly tested and verified during the development processes. Security testing should be an integral part of the testing for systems or components.
Security testing should be conducted against a set of requirements, which can be expressed as functional or non-functional. Security testing should include testing of:
- a) security functions [e.g. user authentication (see 8.5), access restriction (see 8.3) and use of cryptography (see 8.24)];
- b) secure coding (see 8.28);
- c) secure configurations (see 8.9, 8.20 and 8.22) including that of operating systems, firewalls and other security components.
Test plans should be determined using a set of criteria. The extent of testing should be in proportion to the importance, nature of the system and the potential impact of the change being introduced. The test plan should include:
- a) detailed schedule of activities and tests;
- b) inputs and expected outputs under a range of conditions;
- c) criteria to evaluate the results;
- d) decision for further actions as necessary.
The organization can leverage automated tools, such as code analysis tools or vulnerability scanners, and should verify the remediation of security related defects.
For in-house developments, such tests should initially be performed by the development team. Independent acceptance testing should then be undertaken to ensure that the system works as expected and only as expected (see 5.8). The following should be considered:
- a) performing code review activities as a relevant element for testing for security flaws, including unanticipated inputs and conditions;
- b) performing vulnerability scanning to identify insecure configurations and system vulnerabilities;
- c) performing penetration testing to identify insecure code and design.
For outsourced development and purchasing components, an acquisition process should be followed. Contracts with the supplier should address the identified security requirements (see 5.20). Products and services should be evaluated against these criteria before acquisition.
Testing should be performed in a test environment that matches the target production environment as closely as possible to ensure that the system does not introduce vulnerabilities to the organization’s environment and that the tests are reliable (see 8.31).
Other Information
Multiple test environments can be established, which can be used for different kinds of testing (e.g. functional and performance testing). These different environments can be virtual, with individual configurations to simulate a variety of operating environments.
Testing and monitoring of test environments, tools and technologies also needs to be considered to ensure effective testing. The same considerations apply to monitoring of the monitoring systems deployed in development, test and production settings. Judgement is needed, guided by the sensitivity of the systems and data, to determine how many layers of meta-testing are useful.
SCF Relationships
Mappings below are from the SCF STRM for ISO/IEC 27002; the source element and relationship are retained.
| Source element | SCF control | Relationship | Strength | Mapping PDF page |
|---|---|---|---|---|
8.29 | IAO-02 (unresolved reference: References/Secure Controls Framework 2026.2/IAO Information Assurance/IAO-02 Assessments.md) | Intersects With | 5 | 14 |
8.29 | IAO-02.2 (unresolved reference: References/Secure Controls Framework 2026.2/IAO Information Assurance/IAO-02.2 Specialized Assessments.md) | Intersects With | 5 | 14 |
8.29 | TDA-02 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-02 Minimum Viable Product (MVP) Security Requirements.md) | Intersects With | 5 | 14 |
8.29 | TDA-02.3 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-02.3 Development Methods, Techniques & Processes.md) | Intersects With | 5 | 14 |
8.29 | TDA-06.1 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-06.1 Criticality Analysis During Development.md) | Intersects With | 5 | 14 |
8.29 | TDA-09 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-09 Security, Compliance & Resilience Testing Throughout Development.md) | Intersects With | 5 | 14 |
Notes
- Subordinate paragraphs and lists remain on this clause or control card.
- Assessment reference: This publication supplies recommendations and guidance; applicability depends on the assessment scope.
References
- ISO/IEC 27002:2022 — canonical source, PDF pages 134–136; printed pages 124–126.
- SCF STRM mapping source.