Topics in this domain

Separating Development, Test and Production Environments (Annex A 8.31)

Change and testing · 1 min read

Three environments

Production systems hold live data and support the business; development and test environments are where things are supposed to break. Annex A control 8.31 calls for development, testing and production environments to be separated and secured. The diagram shows the three.

Development is where developers build. Test is where testers verify, using masked data. Production holds live data, with restricted access.

Development where developers build; test where testers verify with masked data; production with live data and restricted access.

Separation protects production from untested changes, accidental damage and unauthorised access, and stops test activity affecting real customers.

Rules for separation

Typical rules include:

  • separate systems, networks or cloud accounts for each environment;
  • different credentials for each environment;
  • no routine production write access for developers;
  • promotion to production through change control (8.32);
  • no development tools on production systems;
  • environments clearly labelled, to avoid mistakes.

Small teams may share people across environments, but the environments themselves should stay separate, with segregation of duties (5.3) or compensating controls for who can promote changes.

Emergency access

Sometimes a developer must fix a production problem urgently. Rather than standing access, use controlled emergency access: approved, time-limited, logged and reviewed afterwards.

Example. A payments team used a break-glass process for production fixes. Each use created a ticket, expired after four hours, and was reviewed by the change board the next day.

How the exam asks about it

If the question asks…The answer is usually…
Control for separating environments8.31
Developer has write access to productionRemove it; use controlled change
Urgent production fix neededApproved, time-limited, logged emergency access
Live data copied to developmentMask or protect it first

In short

  • Annex A 8.31 calls for development, testing and production environments to be separated and secured.
  • Separation protects production from untested changes, accidental damage and unauthorised access.
  • Developers shouldn't have routine write access to production.
  • Changes move from development to test to production through controlled, approved steps.
  • Production data shouldn't be copied into development or test without protection.

Exam traps

  • Developers fixing bugs directly in production.
  • Test systems connected to production databases.
  • Development tools and compilers installed on production servers.
  • Live customer data in development environments.

Check yourself

  1. Why shouldn't developers have routine write access to production?

  2. How should changes move between environments?

  3. A tester wants a copy of production customer data in the test system. What applies?

Slides

Click the slide and use the arrow keys. F toggles full screen.

Turn your phone sideways for a bigger view. Tap any diagram to enlarge it.

ISO 27001 LI · Domain 6 · Change and testing

Separating Development, Test and Production Environments (Annex A 8.31)

How Annex A 8.31 separates and secures development, test and production environments, controls who can access each, governs how changes and data move between them, and protects production from untested change.

1 / 7

Turn your phone sideways or scroll to see all of it.