Logsiegel

ISO/IEC 27001:2022, Annex A

What ISO 27001 requires in terms of logging and evidence, and what Logsiegel contributes

If you run an ISMS to ISO 27001, you have to show the auditor that logs not only exist but are protected against falsification. For AI systems inside the scope, that holds just as much as for any server. Logsiegel supplies that protection in a form the auditor can recompute personally.

Who this applies to

Organizations with an ISMS to ISO/IEC 27001, certified or preparing for certification, and their suppliers, who have to supply evidence within supplier management (A.5.19 to A.5.22). An AI system that makes decisions inside the scope is an asset like any other.

What the regulation requires in terms of records

The relevant controls from Annex A (2022 edition):

ReferenceRequirement
A.8.15Logging: logs of activities, exceptions, faults and other relevant events are to be produced, stored, protected and analyzed. The implementation guidance (ISO/IEC 27002) calls for protection against tampering and unauthorized access.
A.8.16Monitoring activities: networks, systems and applications are to be monitored for anomalous behavior; reliable records are the basis for that.
A.5.28Collection of evidence: procedures for the identification, collection, acquisition and preservation of evidence related to information security events, so that it remains usable in disciplinary and legal proceedings.
A.5.33Protection of records: records are to be protected from loss, destruction, falsification and unauthorized access, throughout the whole retention period.
A.8.17Clock synchronization: the clocks of systems are to be synchronized to an approved time source, so that records can be correlated in time.
A.5.19 to A.5.22Supplier relationships: define security requirements for suppliers and monitor that they are met. An AI provider has to be able to supply evidence.

What Logsiegel contributes today

What is in progress planned

What Logsiegel does not do

  • The ISMS itself. Risk assessment, Statement of Applicability, management review, internal audits: separate work, separate tools.
  • Analysis and monitoring. A.8.15 also asks for analysis, A.8.16 for monitoring. Logsiegel supplies unaltered facts for that, not the analysis.
  • The time source. Clock synchronization (A.8.17) remains your job; Logsiegel takes the system time.
  • Completeness. What is proven is that the recorded material is unaltered, never that everything was recorded. That is an integration question: the adapter has to sit at a point every action must pass (LiteLLM today, MCP proxy in progress).
  • Protection against the operator itself. Whoever holds the signing key could rewrite the trail and sign it again. That comes to light precisely when somebody else holds an earlier checkpoint or receipt. So hand your checkpoints out; counter-signing by an independent witness is the next stage of the project.
  • Legal assessment. Whether your system falls under the regulation, which duties apply in detail and whether a receipt is enough in a given case is decided by your legal or compliance review, not by this tool.

How to put it to work

1. Install it and create a trail

The SDK is Python, Apache 2.0, no server and no account. The origin (origin) names the system whose actions are being recorded.

pip install logsiegel
logsiegel init ./trail --origin "acme.example/support-agent"

2. Plug the adapter in at the point every action must pass

If your AI traffic runs through LiteLLM, every completion becomes a signable inference entry, and errors are recorded as an anomaly. Human interventions you record explicitly, as an event of their own.

import litellm
from logsiegel.integrations.litellm_logger import LogsiegelLogger

litellm.callbacks = [LogsiegelLogger("/var/lib/logsiegel/prod", store_payload=True)]

3. Create checkpoints and hand them out

Create checkpoints regularly (via cron, for instance) and put them outside your own infrastructure: with the auditor, with the customer, in someone else's repository. Only a checkpoint you no longer control alone makes the trail hold up against yourself.

logsiegel checkpoint ./trail
logsiegel verify ./trail

4. File checkpoints as audit evidence

Put signed checkpoints into the document control system of the ISMS and point to the procedure in the Statement of Applicability under A.8.15 and A.5.33. The auditor spot-checks with logsiegel verify against the filed checkpoint.

5. Hand out the receipt when someone asks

Instead of database extracts you hand out a single receipt. The other side verifies it in the browser at logsiegel.com/verifier or on the command line, both offline.

logsiegel receipt ./trail --seq 1284 --out receipt.json
logsiegel verify-receipt receipt.json --pubkey logsiegel.pub

More regulations: EU AI Act GDPR DORA NIS2 / critical infrastructure ISO/IEC 42001 GoBD eIDAS Overview

Legal status September 2026. This page is a technical assessment by the project, not legal advice and not a conformity statement. Please check the references against the current text of the law. Corrections welcome via GitHub issue.