Skip to content

Latest commit

 

History

1,018 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cairn

Governance, Risk and Compliance, self-hosted.

Track your compliance with ISO 27001, GDPR, NIS2 and the rest, run structured risk assessments, and handle security incidents with the evidence trail a regulator will ask for. One application, one container, your own infrastructure.

Tests Docker Licence

Cairn dashboard

Quick start

cp .env.example .env
docker compose up --build

Open localhost:8000. A first-run screen offers to set up your company, or to load the Voltara Energy demo dataset so you can look around a populated instance straight away.

No Docker? Cairn also runs on pure Python with SQLite for debugging. See the installation guide.

What it covers

Module What you do with it
Governance Scopes, strategic issues, stakeholders, objectives, SWOT, roles and activities : the ISO 27001 clause 4 context
Assets Essential and support assets with CIA valuation, dependency mapping, SPOF detection, suppliers, contracts and certificates
Risks ISO 27005 and EBIOS RM (ANSSI v1.5, workshops 0 to 5), a three-level register, treatment plans and formal acceptance
Compliance Frameworks and requirements, audits, an organisation-wide nonconformity register, action plans and inter-framework mappings
Incidents Event intake, incident handling, sealed evidence under chain of custody, and statutory notification clocks (GDPR, NIS2, DORA)
Trust Center A public, curated page for your security posture, optionally on its own domain
Steering A configurable widget dashboard, a unified tasks board, management reviews, and PDF / DOCX / PPTX / XLSX reports

What makes it different

Governance is enforced, not suggested. Every record runs a lifecycle whose step decides whether it counts in reports, whether anything may link to it, and whether it can be deleted at all. There is no status dropdown : a state change is a permissioned transition that leaves a trail.

Everything is an API. Every feature is reachable through the REST API and a built-in MCP server, so scripts and AI assistants work with your GRC data directly, under the caller's own permissions.

Built for the audit. Full change history on every record, versioning, scope-based tenancy, role-based permissions and passkey login. Bilingual throughout, English and French.

Optional AI, off by default. Ask Cairn answers questions in plain language and cites real records. Point it at Mistral, OpenAI, Claude, or your own Ollama so nothing leaves your infrastructure.

Documentation

The full documentation lives in the wiki, built from docs/.

User guide Using the platform, module by module
Technical Install, configure, secure, operate
SDK Extend it : widgets, entities, endpoints, tools
Reference Endpoints, MCP tools, permissions, settings
Specifications The contract each module is held to

Tech stack

Django 5.2 LTS, PostgreSQL 16, Django REST Framework, Channels and Redis, Bootstrap 5.3 with HTMX and Apache ECharts. No JavaScript build step.

Every front-end library is served from the instance itself, never from a CDN : an isolated deployment works, and no third party is told who browses it. They are mirrored into static/vendor/ from the pins in core/dependencies.py - by the Docker build, or on the first launch of a direct install - and each download is checked against a Subresource-Integrity digest. python manage.py vendor_assets does it by hand.

That same file is the full inventory of third-party components, and a running instance states it in the About dialog, at GET /api/v1/dependencies and through the list_dependencies MCP tool. The About dialog also says whether a newer release is published (GET /api/v1/update-check, check_for_updates); set UPDATE_CHECK_ENABLED=False to keep the instance from asking.

Licence

Cairn is free software under the GNU Affero General Public License, version 3 or later (AGPL-3.0-or-later).

The AGPL is a network copyleft licence : run a modified version and make it available over a network, and you must offer those users the corresponding source. Distributing a modified version triggers the same obligation.

Every source file carries an SPDX-License-Identifier: AGPL-3.0-or-later header. The third-party files mirrored into static/vendor/ keep their own upstream licences and are not covered by this notice.

Trademarks

The licence covers the source code. It grants no right to the Cairn name, the logo or the visual identity in docs/brand/. A public fork or a hosted derivative must use a different name and its own branding.

About

Open-source Governance, Risk and Compliance (GRC) platform. Manage your organisation's security posture, track compliance with regulatory frameworks (ISO 27001, GDPR, NIS2, ...), and run structured risk assessments (ISO 27005, EBIOS RM) - all from a single, self-hosted application.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages