ISO 27002:2022
Technological controls – ISO 27002:2022

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

Development, test and production environments are to be kept apart and secured. Purpose: keep work done in development and testing from harming production systems or production data. Guidance: determine and implement the degree of separation needed to avoid production problems, considering: separating development and production systems adequately and running them in different domains, such as separate virtual or physical environments; defining, documenting and applying rules and authorization for promoting software from development to production; testing changes in a test or staging environment before applying them to production (8.29); not testing in production except in defined, approved circumstances; keeping compilers, editors and other development or utility tools out of reach of production systems when not needed; showing clear environment labels in menus to reduce mistakes; and not copying sensitive information into development and test environments unless they have equivalent controls. Development and test environments themselves should be protected by patching and updating all development, integration and test tools (builders, integrators, compilers, configuration systems, libraries), securely configuring systems and software, controlling access, monitoring changes to the environments and the code in them, monitoring them securely, and backing them up. Nobody should be able to alter development and production alike unless someone has reviewed and approved it first, achieved through separate access rights or monitored rules; in exceptional cases, fine-grained logs and live monitoring should catch and respond to unauthorized changes. Other information: developer and tester access to production risks unwanted changes, failures, running untested code, disclosure and integrity or availability problems; a known, stable test environment is needed, supported by well-designed roles, segregation of duties and monitoring; shared environments cause accidental changes; sometimes the boundaries are deliberately blurred through pilot rollouts, internal live use or twin production environments for zero-downtime deployment; processes for using production data in testing (8.33) are needed; the same guidance can apply to training environments.

Maintained by Gerard BlokdykControl text last updated

What else in your programme already covers this

This control maps to 60 controls across 25 other frameworks. If you already hold one of them, the evidence you collected for it is the starting point here rather than new work.

NIST SP 800-53 Rev 5 · 10 controls

CIS Controls v8 · 5 controls

  • CIS-12.2 Establish and Maintain a Secure Network Architecture
  • CIS-12.8 Establish and Maintain Dedicated Computing Resources for All Administrative Work
  • CIS-16.1 Establish and Maintain a Secure Application Development Process
  • CIS-16.8 Separate Production and Non-Production Systems
  • CIS-3.12 Segment Data Processing and Storage Based on Sensitivity

PCI DSS 4.0 · 5 controls

  • 6.2.1 6.2.1 Secure development of bespoke and custom software
  • 6.5.5 6.5.5 No live PANs in pre-production
  • 6.5.6 6.5.6 Remove test data and accounts before production
  • 6.5.3 6.5.3 Separate pre-production from production
  • 6.5.4 6.5.4 Separate roles between production and pre-production

FedRAMP High · 4 controls

  • CM-3 Configuration Change Control
  • CM-4(2) Impact Analyses | Verification of Controls (CM-4(2))
  • SA-3 System Development Life Cycle
  • SC-39 Process Isolation

FedRAMP Moderate · 4 controls

  • CM-3 Configuration Change Control
  • CM-4(2) Impact Analyses | Verification of Controls (CM-4(2))
  • SA-3 System Development Life Cycle
  • SC-39 Process Isolation

ISO 27001:2022 · 4 controls

  • 8.27 Secure system architecture and engineering principles
  • 8.29 Security testing in development and acceptance
  • 8.30 Outsourced development
  • 8.31 Separation of development, test and production environments
  • ISM-0400 Segregating software environments
  • ISM-1273 Segregating database servers across environments
  • ISM-1419 Developing only in development environments

ISO/IEC 42001:2023 · 3 controls

  • 8.3 AI risk treatment
  • A.6.2.4 AI system verification and validation
  • A.7.2 Data for development and enhancement of AI system
  • SEC01-BP01 Separate workloads using accounts
  • SEC11-BP07 Regularly assess security properties of the pipelines
  • ASBv3-DS-3 Secure DevOps infrastructure
  • ASBv3-GS-2 Define and implement enterprise segmentation/separation of duties strategy
  • CCM-AIS-06 Automated Secure Application Deployment
  • CCM-IVS-05 Production and Non-Production Environments

NIST SP 800-218 · 2 controls

SOC 2 · 2 controls

  • SOC2-CC6.3 CC6.3 Role-based access, least privilege and segregation of duties
  • SOC2-CC8.1 CC8.1 Managing changes to procedures, software, data and infrastructure
  • PROC.PRODUCTID Keep ATO product IDs confidential and use them only as intended
  • AUCDR-IS-3 Securely manage information assets over their lifecycle

C5 (Germany) · 1 control

  • CFTC-SS-5 Systems Development and Quality Assurance Category

CMMC 2.0 · 1 control

  • B.8.3 B.8.3 Software Development Life Cycle

ISO 27701:2019 · 1 control

MTCS (Singapore) · 1 control

  • 20.5 Separation of environment
  • NIST-CSF-PR.PS-06 Secure software development practices are integrated, and their performance is monitored throughout the software development life cycle

NIST SP 800-172 · 1 control

  • 3.13.1e Create Diversity in System Components to Limit Malicious Code Propagation
  • P1-3.3.3 P1-3.3.3 Changes tested outside production

Every mapping shown was judged rather than inferred from wording similarity, and the ones that failed review are published too. See the coverage reports and what was rejected.

Other controls in Technological controls – ISO 27002:2022

You are reading one control. How much of ISO 27002:2022 have you already done?

ISO 27002:2022 8.31 is one control. If you already hold one of the frameworks below, a reviewed crosswalk already says how much of ISO 27002:2022 your existing evidence covers. Hold NIST SP 800-53 Rev 5 and 79 of 93 ISO 27002:2022 controls already carry evidence.

Each report names every control your existing framework evidences, every one it does not, the reasoning behind each claim, and the claims that were argued against and rejected. 180 were rejected on the NIST SP 800-53 Rev 5 pair alone.

Query this from an agent

The graph holds this control, the 60 it maps to, and the evidence behind each claim, over MCP and REST.