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.
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.
One open version
Only one draft or in-review version can exist at a time; a unique constraint on a generated column enforces it.
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.
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.
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.
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).
| Component | Weight | Measure |
|---|---|---|
| Annex A controls | 30 | For applicable controls: implemented counts in full, partially counts half |
| Clauses 4–10 | 20 | Met counts in full, partially counts half |
| Risk treatment | 15 | Accepted risks with a current review score in full; the score drops as they fall behind |
| Control tests | 10 | On-time, effective results for controls that have a test plan |
| Action tracking | 10 | The share of open actions that are not overdue |
| Documents | 5 | The share in force and not past their review date |
| Training and awareness | 5 | The average of mandatory-training compliance and policy acknowledgement |
| Suppliers | 5 | Current assessments and complete contract clauses |
Requirements
| Minimum | Recommended | |
|---|---|---|
| Operating system | Ubuntu Server 24.04 LTS | The same, fully patched |
| CPU | 1 vCPU | 2 vCPU |
| Memory | 2 GB | 4 GB |
| Disk | 10 GB | 25 GB plus room for evidence files |
Installation
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.
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.