What the X-Road audit log records and why auditors ask for it
A security or compliance lead who must show who changed a Security Server or Central Server setting, and when, needs the audit log. X-Road records administrative actions in an audit log on Security Servers and Central Servers, and both the Security Server and Central Server user guides cover changing the audit log configuration and archiving it. The event list itself is documented in a dedicated X-Road audit log specification, so your first task is to map your own requirements (for example, which administrator actions must be traceable to a named person) to the events that specification lists. Confirm that you are reading the specification version that matches the X-Road release you run, because the auditor will check your evidence against that list.
Do not confuse the audit log with the message log. The message log records exchanged messages and is covered by the sibling topics on logging modes, timestamping, archives, signed documents and encryption. The audit log answers a different question: which administrator changed which configuration on which server, and when. Keep the two in separate evidence plans with their own retention, access and archiving rules. Ask your operator or integrator where each server writes its audit records and how they are rotated, then run a test configuration change in a non-production environment and confirm that it appears in the audit output before you rely on it in a review.
DeployOpen prepares the setup and the evidence: configuring the audit log, setting up archiving, and documenting the controls for your compliance team. DeployOpen does not issue audit reports, attestations or certifications; your independent auditor or certification body does that. Before work starts, agree in writing which events your auditor expects to see, which admin roles can make changes (the Security Server user roles, such as Security Officer and System Administrator, are a useful starting point), and how archived audit files are protected from alteration. The Security Server user guide is the next read for the configuration steps.
Audit log configuration and archive options and when each fits
This table compares the audit log choices that the Security Server and Central Server user guides cover: retention on the server, archive production, moving archives off the server and forwarding records to central log management. Read each row for when the option fits and which setting names and behavior to confirm in the guide before you commit. Use the guides as the source of exact setting names, since this table names no defaults or values.
| Option area | When it fits | Confirm in the guide before choosing |
|---|---|---|
| Log retention on the server | Fits a single Security Server where one team checks disk space and collects archives on a fixed schedule. | Copy the exact retention setting name, its unit and what happens when the limit is reached. |
| Archive production | Fits a single Security Server run by one operations owner who creates archives directly on that server. | Confirm the archive settings, how archives are grouped and named, and whether archives are encrypted or integrity protected. |
| Moving archives off the server | Fits teams with an approved secure store and a scheduled job that pulls archives to long-term storage. | Confirm the transfer tool, its configuration keys, the credentials it needs and the write permissions on the receiving side. |
| Central Server audit log | Fits an operator running one Central Server for many member organizations that must show its own administrative changes. | Confirm which audit log settings the Central Server guide exposes and which admin role may change them. |
| Forwarding to central log management | Fits organizations with a SIEM or log platform that must correlate X-Road administrative events with other systems. | Confirm whether either guide provides forwarding, or whether a separate agent or script is needed, and which transport and format apply. |
| Who changes the settings | Fits a member team that administers its own Security Server and keeps the audit log under its own change control. | Confirm which user roles in the Security Server guide can change audit log settings and run archives. |
How an administrative action travels from the server to central log management
The diagram starts with an administrator making a change in the Security Server or Central Server admin interface. That action is written to the audit log on the same server, inside the X Road server network. A scheduled step then archives the log, and the archive must leave the server before it reaches the central log platform in a separate network. The archive step and the transfer step are the two points to confirm in the Security Server and Central Server user guides, because their mechanism, schedule and output format determine what the central platform receives.
Audit records travel from the server to central log management across a marked trust boundary.
How the audit log differs on the Security Server and the Central Server
On a Security Server, the audit log records administrative actions performed in its admin interface. Admin users authenticate through PAM, and the Security Server user guide defines five roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Where LDAP is in use, SSSD resolves directory accounts on the host and LDAP groups are mapped to X-Road roles, so the identity that appears in the log depends on how those accounts and groups are set up. Read the Security Server user guide before you design role assignments, because role mapping decides who can perform each action and therefore whose name appears in the log.
- PAM sign-in: Confirm which PAM service the admin UI uses on each host and whether local accounts are allowed alongside directory accounts.
- LDAP group mapping: Confirm which LDAP groups map to which of the five roles, and who maintains those groups.
- Identity in entries: Test how an account change, such as a rename or removal from a group, appears in the log before you rely on it as evidence.
- Role separation: Check that no single account holds a combination of roles that would let one person perform and then review the same actions.
- Per-host configuration: Each Security Server keeps its own log, so apply the audit settings on every Security Server in the deployment.
Check that each admin account maps to one named person and one role, and that a test action by each role produces an entry under the name you expect.
The Central Server runs the operator side of an X-Road ecosystem, including member onboarding, management services and global configuration distribution. Its audit log records administrative actions taken by Central Server operators, so its entries cover a different scope from the Security Server log. The Central Server user guide covers changing the audit log configuration and archiving it. The Security Server guide covers the same two topics, but each server takes those steps on its own host.
- Operator actions: Confirm in the audit log specification which Central Server operator actions produce entries, and check that onboarding and global configuration changes are among them.
- Configuration change: Follow the guide's steps to change audit settings, and record the values you set and the date of each change.
- Archiving steps: Confirm the archive location and format, and which operator accounts can read or move archive files.
- Changes to the log: Confirm whether changes to the audit configuration are themselves recorded, since that determines whether a reduction in logging would be visible.
- Separate schedule: A Central Server archive does not replace any Security Server archive, so each server needs its own archive schedule and owner.
Check that the Central Server audit settings and archive procedure are documented on their own, so an auditor can find them without reading the Security Server runbook.
An auditor or security team reviewing an incident or a control often needs both logs. Each log covers only the server it runs on, so an action taken on one server does not appear in the other, and the two logs identify people through different accounts. Plan the review by first identifying which server handled each action, then reading the matching log. The audit log specification and both user guides define the events and settings you need to confirm, so keep those documents with the review record.
- Scope: Security Server logs cover admin actions on that host, and the Central Server log covers operator actions on the Central Server.
- Identity matching: Map Security Server account names to people using the LDAP directory before comparing them with Central Server operator accounts.
- Archive ownership: Assign a named owner for the archives from each server, with read access documented for reviewers.
- Gap checks: When an expected entry is missing, confirm which server performed the action before concluding that logging failed.
- Configuration evidence: Keep the audit configuration for each server as a dated record, so the review can show what was being logged at the time of each action.
Check that you can name the server, the account and the role behind every action in scope before the review starts.
Which administrative actions to map to your audit requirements
Administrative actions fall into a few groups that auditors will ask about: how the audit log is configured, who administers the server, which keys and certificates it trusts, and what the Central Server changes for every member. Map each group to the events in the audit log event specification, then test each one in a non-production environment and confirm the entry survives archiving.
Configuration changes
Changes to Security Server and Central Server configuration are the first group to map, including settings that control the audit log itself. Check the event specification for which events record configuration edits, and confirm whether each entry shows the actor, the time and the previous and new values. In a non-production environment, change one setting at a time, confirm the event appears, then archive the log and verify the entry is in the archive. Also test a change that fails validation, since you need to know whether rejected attempts are recorded.
Admin user and role changes
Security Server admin users authenticate through PAM, and LDAP-backed setups map LDAP groups to the five X-Road roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Check the specification for events covering user creation, removal, lock and role assignment. Confirm whether a group change made in LDAP through SSSD produces an entry on the Security Server, because an external change may leave a different trail than a local one. In a test environment, grant and revoke each role and verify the entries name the actor and the target account.
Security Server user guideCertificate and key changes
Authentication and signing certificates, and the keys behind them, define which members and services the server trusts. Check the specification for events covering certificate registration, unregistration, and key generation, import, activation and deletion, and confirm how expiry and renewal appear. In a non-production environment, rotate one signing key and one authentication certificate, then confirm each step appears in the audit log and that the archived copy keeps the same entries. Record which key lifecycle events your evidence map relies on for each key.
Hardware token changes
Keys held on a hardware security module through PKCS#11 drivers, enabled by the xroad-addon-hwtokens package, can leave a separate evidence trail from software keys. Check the specification for whether token actions such as key creation and removal are audit events, or whether they appear only in the token's own or system logs. In a non-production environment, use a test token to create and remove a key, then compare the Security Server audit log with the token's logs. Document where each token action is evidenced so the audit team knows which system to query.
Central Server member changes
On the Central Server, adding or removing members and subsystems, changing member classes and publishing global configuration change what every Security Server in the instance trusts. Check the specification for events covering member and subsystem registration, status changes and global configuration updates, and confirm whether the Central Server records the actor for each. In a non-production environment, onboard a test member, change its status, then trace that change from the Central Server audit log into the archive. Keep the member and configuration events together in one evidence set.
Central Server user guideSetting up X-Road audit log archiving in the right order
This sequence moves from confirming your release and documentation to a tested archive that central log management can ingest. Each step ends with a check, so a gap in configuration shows up before anyone depends on the audit evidence. Work through it in a test environment first, then repeat it on production servers.
Confirm the supported release and platform
The platform team confirms that every Security Server and the Central Server runs a release on the supported list. The current release is 7.8.3, and 7.7.4 and 7.6.5 are also supported. Check each server's operating system against the Security Server installation guide, which lists Ubuntu Server 22.04 and 24.04 LTS and Red Hat Enterprise Linux 8 and 9 for Security Servers. Record the installed version on each server. Done when every server reports a version from the supported list, and any exception has a planned upgrade with an owner.
Read the event specification and both user guides
The security lead reads the X-Road audit log event specification together with the Security Server and Central Server user guides, which both cover changing the audit log configuration and archiving it. Start from the X-Road documentation index to confirm you have the versions that match your release. Note which events each component generates and list every procedure your team will follow. Done when the team can name the configuration settings and archive steps it will change, with the document versions recorded in the change file.
Agree the events and retention with compliance
Compliance, security and operations agree in writing which audit events must be kept, who may read them and how long archives must be retained. The retention period comes from your legal and policy obligations, so ask compliance to state the period in writing and do not assume a default. Name an owner for the archive, because someone must answer for its integrity later. Done when a signed or minuted decision lists the events, the retention period and the archive owner.
Change the audit log configuration on each Security Server
An administrator changes the audit log configuration on each Security Server, following the Security Server user guide and the agreed event list. Apply the change to one server first, then to the rest, and save a copy of the previous configuration so the change can be reversed. Restart or reload only where the guide directs, and log the time of each change. Done when each Security Server shows the agreed configuration and the change is recorded against that server's name and version.
Repeat the configuration on the Central Server
The operator repeats the audit log configuration change on the Central Server, following the Central Server user guide and keeping its settings aligned with the agreed event list. Because the Central Server records administrative actions of its own, compare its settings against the Security Server record line by line. Done when the Central Server configuration matches the agreed list and is recorded next to the Security Server settings, with no unexplained differences between them.
Set up the archive step and storage you control
Configure the archive step on each Security Server so it produces archive files, then set up the transfer of those files to storage your organization controls. Confirm the storage location, access rights and encryption approach with the archive owner before the first transfer runs. Review the archiving topic for the transfer tooling options before you pick one. Done when a test archive file has been created, moved to the controlled storage location, and recorded with its ownership and access rights.
Run a controlled admin action in a test environment
In a test environment that mirrors production, an administrator performs a known admin action from the event list agreed earlier. Record the exact time, the account used and the action taken before you run it. Illustrative example: if the test change is made at a known minute by a named account, the log entry should show that minute and that account. Done when the entry matches the test record field by field, and the archived copy contains the same entry.
Connect the central log platform and check ingestion
Connect the central log management platform to the archive output you set up, and record which component forwards events and under which identity. Check that the test event from the previous step arrives once, with a timestamp that matches the source server. Confirm the clock synchronization on each server and how the platform orders events, since mismatched clocks can make a sequence look wrong. Done when the test event is searchable in the central platform with the same fields as the archive, and the time check for each server is recorded.
Protecting the audit log from tampering, loss and over-exposure
Audit records only help if no one can quietly change them and the people who read them are controlled. The cards below cover the admin access, identity, host hardening, archive protection, log platform access and clock settings that protect the log end to end. Work through them before relying on the log as evidence.
Limit who can change audit settings
Changing audit log settings or deleting archives can hide activity, so treat those actions as privileged. Map the five Security Server roles to named people and keep the set that can change audit configuration small. Confirm in the Security Server user guide which roles can edit audit log configuration and archive files in your version, then test the role assignments with a non-privileged account before go-live.
Security Server user guideName every admin individually
Security Server admin accounts authenticate through PAM, and PAM can be wired to LDAP through SSSD so that LDAP groups map to X-Road roles. Use that path so each audit entry points to one person. Shared admin accounts make the log record that someone acted without showing who, so disable them for day-to-day work. Check that the group mapping removes access when someone leaves.
Apply the hardening baseline
The X-Road security hardening guidelines set the baseline for admin access to the servers that hold the audit log. Apply the lockout rule after failed logins, the minimum password length and key-only SSH, and check each setting on every server in scope. Also set the allowed-hostnames option against host header injection and check that global configuration is published over HTTPS. Review the guide version against your release before you sign off.
- Account lock period
- 15 minutes
- Minimum password length
- 16 characters
Protect archives at rest and in transit
Archive files are the evidence, so they need the same care as the live log. Restrict write and delete rights on archive directories to a dedicated service account, and keep a record of who moved each file. Confirm that every transfer to long-term storage runs over an encrypted channel, and confirm how stored copies are checked for changes. Archive encryption is covered in the topic on encrypting the X-Road message log and archives.
Limit who reads the central log
The central log platform holds the same administrative events in one searchable place, so read access to it is a data exposure question as well as an access question. Grant read rights by group, separate operators who investigate from those who administer the platform, and log their searches. Confirm how your chosen platform handles retention and role-based access before you connect the first server.
Keep server clocks in step
Every audit entry carries a timestamp, and entries from different servers only line up if their clocks agree. Point each Security Server, the Central Server, the database host and the log platform at the same agreed time source, and check synchronization after patching or VM moves. Drift tends to surface during incident reconstruction, so test it before you need it.
What to confirm before you rely on the log as evidence
The audit log supports an evidence process, but it does not settle evidential questions on its own. Its legal weight is decided by your legal, compliance and auditor review, which looks at how the log is configured, who can change that configuration, how entries are archived and whether you can show an unbroken record over time. Treat the log as one input to that review. DeployOpen prepares systems, controls and evidence for assessment. It does not issue audit reports, attestations or certifications. Your own advisers, and the independent auditors or certification bodies you engage, decide whether the log meets your obligations.
Before you rely on the log, settle the open questions with the X-Road user guides and a test run on a non-production Security Server. First, confirm that each entry records the acting user, including administrators who sign in through PAM or LDAP groups mapped to X-Road roles. Make a known administrative change with a named account, then check that the entry identifies that account. Second, confirm that entries stay complete across restarts and upgrades. Restart the server and apply an upgrade in test, then compare the log before and after for missing entries or unexplained gaps. The Security Server user guide covers the audit log configuration and archiving steps you will test against.
Third, ask how archives are named and grouped, and what decides the boundary between one archive and the next. Run an archive in test, inspect the file names and grouping, and ask the vendor to confirm any integrity protection on the files. Fourth, ask how long the server keeps records before they are archived, and what happens to entries written while the archiving step runs. Write each answer, the test date and the software version into your evidence file, because your auditors will ask how you know what the log contained at a given point. Moving archives to long-term storage is covered in its own section.
Limits and what to confirm in your environment
The audit log depends on details that change by release and by environment, so the points below are the ones to settle before you build. Each card names a limit and the check that closes it. Confirm them against the documentation for your release and in a test environment that matches production.
Confirm the event list
The audit log records administrative actions, and X-Road documents those event types in a dedicated specification. Do not treat any list in a blog post, training deck or internal wiki as final, including the one in this guide. Pull the specification for your exact release, compare it with the events your Security Server and Central Server actually write, and record gaps in your control matrix. Ask your compliance team which events they need as evidence, then test one administrative change per event type on a non-production instance before relying on the log.
Documentation indexConfirm central log shipping
Shipping audit events to a central log management platform needs a forwarding method that your release supports, and the exact format and transport are the first things to confirm. Ask the X-Road maintainers or your support provider which transports, message formats and delivery guarantees apply to your version, and whether events are pushed as they occur or collected from files. Then test what happens during a collector outage, how timestamps and server names arrive, and whether the log platform parses the format. Record each answer before you choose the collector or write any parser.
Size disk for log growth
The 3 GB of free disk space in the installation guide is the minimum for installing the Security Server, and the audit log needs its own sizing. Local audit records and archive files grow with administrative activity and retention, so size the partition for the retention period you need plus the archive staging you run before transfer. Check where the database lives, since a local PostgreSQL instance shares the same disk, and set a warning threshold and agree with operations what a full volume should trigger. Confirm the retention and rotation behavior for your release before you fix the numbers.
Installation guideConfirm X-Road 7 support period
X-Road 7.8.0 is the last release that adds new features to the 7.x line. NIIS intends to keep shipping bug fixes and security patches beyond 2026, but it has not decided how long that maintenance period will run. Do not assume a fixed end date when you set your audit log archiving and review schedule, and ask NIIS or your support provider for the current position in writing before you plan to stay on 7.x. Plan an upgrade checkpoint and check the current release page for the supported versions you run.
NIIS 7.8.0 postConfirm X-Road 8 status
X-Road 8 Spaceship is available for testing as 8.0.0 Beta 2, and its production release is scheduled for December 2026. A beta build should not anchor an audit log design for production, because its event set and archive behavior may change before release. Check the releases page for current beta status, read the release notes for audit logging changes, and keep your production plan on a supported 7.x release until the date is confirmed. Treat December 2026 as a scheduled date that can move.
X-Road releasesHow much does X-Road audit log setup cost and how long does it take?
What drives the cost of X-Road audit log setup?
The cost follows the size of the audit scope and the design work it needs. The main drivers are the number of Security Servers and Central Servers that record administrative events, because each one needs its configuration and archive path checked. Event mapping comes next: someone must decide which administrative actions must be kept, for how long, and who reviews them. Archive and transfer design adds work when archives must leave the servers on a set schedule, be grouped, and reach long-term storage. Central log platform work, testing in a non-production environment and documentation complete the picture. Ask for each of these as a separate line so you can see which items shrink if the scope is reduced.
How long does X-Road audit log setup take?
The schedule depends on the scope agreed in writing, so no general duration applies to every environment. The main timing factors are the number of Security Servers and Central Servers, whether their audit settings are alike, how many archive destinations exist, and whether the central log platform already accepts the records. Change windows add lead time, because each production change may need an approved slot under your change process. Testing should happen on a non-production environment first. Ask for a phased schedule covering event mapping, test configuration, an archive transfer test, production rollout and handover, with the client approvals each phase depends on.
Which parts of audit log setup are one-time and which recur?
One-time work covers the initial configuration, event mapping, archive design, the first central platform integration and the acceptance tests that prove archives are produced and transferred. Recurring work starts once the audit log is live: checking that retention settings still match policy, monitoring that archives are created and moved on schedule, and watching archive storage capacity. Upgrades add a recurring step. The current X-Road release is 7.8.3, with 7.7.4 and 7.6.5 also supported, so audit settings and archive tooling should be retested after each upgrade. DeployOpen offers retainers for ongoing support, upgrades and continuous testing, so the quote should show which items are one-time and which are recurring.
What does our team need to provide for audit log setup?
Plan for four kinds of input before work starts. First, administrative access to each Security Server and Central Server in scope, with the roles needed to change audit settings and to read archive locations. Second, a named compliance owner who signs off the event mapping, the retention period and the review process, so engineers do not make retention decisions alone. Third, a central log platform owner who confirms the receiving system, its ingestion format and its storage limits. Fourth, change windows approved in advance for each server, plus a non-production environment where the configuration can be tested first. Missing any of these usually moves the schedule, so confirm owners and dates in the written scope.
Can our own team set up X-Road audit logging using the user guides?
Yes, a capable team can do it with the documentation. X-Road documents its audit log events in a dedicated specification, and the Security Server and Central Server user guides cover changing the audit log configuration and archiving it. Whether this is sensible depends on your experience with X-Road administration, PostgreSQL and Linux, the number of servers, and whether someone can own the compliance mapping. A common gap is an archive that is written but never transferred, so test the full path from event to long-term storage before production. If the team is short of time or skills, DeployOpen can plan, implement and document the setup in your infrastructure under a fixed-scope agreement.
What should a written quote for audit log setup include?
A written quote should show the scope before the price. Ask for the list of Security Servers and Central Servers in scope, the audit events and event mapping included, and the owner who approves them. The quote should also name the archive destinations, the transfer method and the grouping, plus the central log platform work and who owns the receiving system. Look for the test environment, the acceptance criteria, the documentation delivered, the client responsibilities and change windows, and which items are one-time and which recur, including any retainer. Confirm what is excluded, such as upgrades or changes to connected information systems. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and a quote follows from that written scope.
How do we confirm X-Road audit log archives are complete after setup?
Confirm completeness with a dated test. Start by comparing the expected archive schedule with the archive files actually created on each server over a full cycle. Then confirm that each file reaches long-term storage and can be read back. Check that retention settings on the servers match the policy the compliance owner signed off, and that the central log platform receives the records without gaps in time. Record the results as acceptance evidence, including who ran each check and when. Repeat the same checks after upgrades and during routine monitoring, because a missed transfer can stay hidden until someone needs the record. The X-Road Central Server user guide covers the archiving steps, so review it before writing the test plan.
How DeployOpen scopes, sets up and supports X-Road audit logging
DeployOpen treats the X-Road audit log as part of the evidence trail. We agree which administrative actions on your Security Servers and Central Server must be retained, how the log is configured and archived, and where the archives go. Work runs in your own infrastructure under a written scope.
How we scope
- The written scope names the Security Servers and Central Server whose audit log settings and archives are in scope.
- We confirm which administrative actions the audit log must capture, using X-Road's audit event specification as the reference.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any configuration work starts.
How we build
- We configure audit logging on each Security Server and Central Server according to the agreed scope and retention requirements.
- We set up the archiving path, covering where archive files are written and how they are protected.
- Where central log management exists, we connect the log output to it and test that events arrive.
How we hand over
- Deliverables include the audit log configuration as built, the archive procedure and the retention settings in use.
- We document how to read the audit log, restore an archive and confirm archiving still runs.
- Your team receives runbook steps for checking audit log settings after upgrades and configuration changes.
How we support
- Ongoing support is available as a retainer, and audit log checks can be included in its written scope.
- When Security Servers are upgraded, we can re-check audit log settings and archive jobs as part of the agreed work.
- The supported releases are 7.8.3, 7.7.4 and 7.6.5, so confirm which one your servers run.

