Open in TheBrain

ISO IEC 27002 2022 — 8.31 Separation of development, test and production environments


source: false

type: canonical-control-reference

standard: "ISO/IEC 27002"

document_version: "2022"

element_id: "8.31"

family_id: "8"

family: "Technological Controls"

title: "Separation of development, test and production environments"

status: active

assessment_criterion: true

reference_basis: "user-supplied licensed ISO canonical publication"

normative_text_included: true

source_location: "PDF pages 137–138; printed pages 127–128"

updated: 2026-09-11

scf_mappings: ["TDA-07", "TDA-08"]

authoritative_sources:

- "ISO/IEC 27002:2022 canonical PDF"

text_kind: guidance

source_text_verified: true


8.31 Separation of development, test and production environments

Control Attributes

Attribute Value


Control type #Preventive
Information security properties #Confidentiality #Integrity #Availability
Cybersecurity concepts #Protect
Operational capabilities #Application_security #System_and_network_security
Security domains #Protection

Control

Development, testing and production environments should be separated and secured.

Purpose

To protect the production environment and data from compromise by development and test activities.

Guidance

The level of separation between production, testing and development environments that is necessary to prevent production problems should be identified and implemented.

The following items should be considered:

In all cases, development and testing environments should be protected considering:

A single person should not have the ability to make changes to both development and production without prior review and approval. This can be achieved for example through segregation of access rights or through rules that are monitored. In exceptional situations, additional measures such as detailed logging and real-time monitoring should be implemented in order to detect and act on unauthorized changes.

Other Information

Without adequate measures and procedures, developers and testers having access to production systems can introduce significant risks (e.g. unwanted modification of files or system environment, system failure, running unauthorized and untested code in production systems, disclosure of confidential data, data integrity and availability issues). There is a need to maintain a known and stable environment in which to perform meaningful testing and to prevent inappropriate developer access to the production environment.

Measures and procedures include carefully designed roles in conjunction with implementing segregation of duty requirements and having adequate monitoring processes in place.

Development and testing personnel also pose a threat to the confidentiality of production information. Development and testing activities can cause unintended changes to software or information if they share the same computing environment. Separating development, testing and production environments is therefore desirable to reduce the risk of accidental change or unauthorized access to production software and business data (see 8.33 for the protection of test information).

In some cases, the distinction between development, test and production environments can be deliberately blurred and testing can be carried out in a development environment or through controlled rollouts to live users or servers (e.g. small population of pilot users). In some cases, product testing can occur through live use of the product inside the organization. Furthermore, to reduce downtime of live deployments, two identical production environments can be supported where only one is live at any one time.

Supporting processes for the use of production data in development and testing environments (8.33) are necessary.

Organizations can also consider the guidance provided in this section for training environments when conducting end user training.

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.31 TDA-07 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-07 Secure Development Environments.md) Intersects With 5 15
8.31 TDA-08 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-08 Separation of Development, Testing and Operational Environments.md) Intersects With 5 15

Notes

References