Open source
Compliance · Platform

beyan

An approved, immutable SoA for the ISO 27001 audit.

A compliance platform for an ISO/IEC 27001:2022 information security management system. At its centre is the Statement of Applicability: decision, justification, implementation status, owner and evidence for the 93 Annex A controls; versioned, approved and immutable after approval.

TypeCompliance · Platform
CompatibilityISO 27001:2022
LanguagePHP
LicenceMIT
StackPHP 8.3 · MariaDB 10.11 · Nginx
InstallationUbuntu Server 24.04, one script
Screenshots 1 / 4

DashboardAudit readiness score, gaps that would stop certification and the risk heat map

Why

Around the statement is everything the certification audit asks about: clauses 4 to 10 of the standard, risk assessment and treatment, the asset inventory, supplier security, incident records with the 72-hour counter of Turkish data-protection law, training and policy acknowledgements, control effectiveness tests, internal audits and findings, corrective actions and the document register.

No framework, Composer dependency, Docker or CDN is needed. Nginx, PHP-FPM and MariaDB are installed only from Ubuntu's official repositories.

Features

Annex A controls and the SoA

93 controls, a versioned statement, an approval flow, a SHA-256 integrity hash, a diff between versions and a printable document.

Clauses 4–10

Status, owner, a description of how it is met, evidence and document links for the 25 mandatory requirements.

Control tests

A test plan with frequency, method and tester; test records are append-only. A "not effective" result opens an action automatically.

Internal audits and actions

An audit programme, nonconformity and observation findings, and a warning on auditor independence. Corrective actions carry a root cause, a due date and an effectiveness check by someone other than the person who completed them.

Documents

A register of policies and procedures: version, classification, owner, approval and periodic review. The owner cannot approve their own document.

Risk, assets, suppliers, incidents, training

The information-security risk register the standard asks for, the asset inventory, supplier assessments, incident records and training compliance in one place, mapped to KVKK, the Turkish BİG guide and NIST.

How it works

The business rules live in the database, not in the application.

  1. One open version

    Only one draft or in-review version can exist at a time; a unique constraint on a generated column enforces it.

  2. Completeness

    A version with incomplete records cannot be approved: the decision and justification, and for applicable controls the status and the reason for inclusion, are mandatory.

  3. Approval and hash

    At approval a SHA-256 hash is calculated from the canonical JSON of the content and printed at the foot of the document.

  4. Immutability

    Triggers reject every SQL statement that changes, deletes or adds records of an approved or in-review version. The application's database account has no privilege to remove the triggers.

  5. Verification

    The Verify page recalculates the hash. Running sha256sum on the downloaded JSON verifies it independently of the application.

Audit readiness score

A management indicator from 0 to 100; it is not a certification decision. Each open major nonconformity takes 10 points off the score (30 at most).

ComponentWeightMeasure
Annex A controls30For applicable controls: implemented counts in full, partially counts half
Clauses 4–1020Met counts in full, partially counts half
Risk treatment15Accepted risks with a current review score in full; the score drops as they fall behind
Control tests10On-time, effective results for controls that have a test plan
Action tracking10The share of open actions that are not overdue
Documents5The share in force and not past their review date
Training and awareness5The average of mandatory-training compliance and policy acknowledgement
Suppliers5Current assessments and complete contract clauses

Requirements

MinimumRecommended
Operating systemUbuntu Server 24.04 LTSThe same, fully patched
CPU1 vCPU2 vCPU
Memory2 GB4 GB
Disk10 GB25 GB plus room for evidence files

Installation

Install on a server
sudo apt-get install -y git
git clone https://github.com/CodeByPinar/beyan.git
cd beyan
sudo ./deploy/install.sh --domain beyan.kurum.local --admin-email ben@kurum.local --admin-name "Ad Soyad"

For --domain give the name users will type in the browser; without a DNS record the server's IP address works too.

Try it with demo data
sudo ./deploy/install.sh --domain localhost --demo

Loads the data of a fictional company instead of an administrator. Do not use a demo installation with real data; its account passwords are public.

What it is not

  • Not a document editor: it keeps the record, version, approval and review of policies; it does not write their content.
  • Not a certification body: it records the internal audit and hands the auditor a ready file; it does not replace the external auditor.
  • Not an enterprise risk platform: it keeps the information-security risk register the standard asks for; RiskOps can be connected for enterprise risk.
  • Not legal advice: the KVKK, BİG guide and NIST mappings are a starting point and should be reviewed by the organisation's compliance team.
  • Not a copy of the ISO standard: the repository holds only control numbers and short titles.
Source code, releases and full documentationgithub.com/CodeByPinar/beyan
Open on GitHub
open to new projectsLet's work together