Skip to main content

ISO 27001 Annex A · Technological control

ISO 27001 Control 8.4: Access to source code

ISO 27001 control 8.4 requires read and write access to source code, development tools and software libraries to be appropriately managed. Auditors check repository permissions, branch protection, external collaborators and how access is removed. Former contractors still in the GitHub organisation are a frequent finding.

Written by Santhosh K, Lead Auditor, from audits our team has led. Last updated 30 November 2026.

What control 8.4 requires

Control 8.4 asks you to manage read and write access to source code, development tools and software libraries. Source code is valuable and a common target, and write access can change what runs in production.

  • Repository access based on role and team.
  • Protected main branches that require review before merge.
  • Control of external collaborators and contractors.
  • Removal of access when people leave.

What the auditor asks

  • Who has access to your repositories, and at what level?
  • Show me branch protection settings on the main branch.
  • List outside collaborators. Why do they need access?
  • Did these leavers lose repository access?

Evidence that passes

  • Repository member and permission lists
  • Branch protection rule settings
  • SSO enforcement for the code hosting organisation
  • Audit logs of permission changes

Common audit findings

  • Former contractors still members of the organisation.
  • Everyone has admin on every repository.
  • Main branch allows direct pushes.

How it maps to SOC 2

  • CC6.1Logical access security
  • CC8.1Change management

Frequently asked questions

Should GitHub be connected to SSO for ISO 27001?

It isn't required, but SSO makes it much easier to show that leavers lose access and that MFA is enforced.

Are public repositories allowed?

Yes, for code you choose to publish. Make sure nothing confidential, such as secrets or customer data, is in them.

How close are you to passing?Answer 15 questions on the controls auditors test most and get your free readiness score.Get my score

Want an auditor to check this control?

Book a free 30-minute call. We'll tell you what an auditor would find in your setup today and what to fix first.

Book a free 30-minute call

Our audit-ready guarantee: you will pass. If the auditor raises a finding on anything we implemented, we fix it at no extra cost until it's closed. How the guarantee works

Hi! I'm your AI Assistant 💬