Localeasy is not open to customers yet. These pages describe the software as it runs on our test deployment. There is no production service, no contract or data processing agreement, and no address for privacy requests yet.
Where data is stored
You choose where an organisation's data is stored when you create it: Global or EU. The choice covers every project in the organisation and cannot be changed later.
| Data | Where it is | EU organisation |
|---|---|---|
| A project's keys, texts, comments and history | Where it is: A database of its own per project. No project shares content tables with another. | EU organisation: Stored in the EU |
| Exported files, staged uploads and snapshots | Where it is: Object storage | EU organisation: A bucket in the EU |
| The audit log and the webhook delivery log | Where it is: A database of its own per organisation | EU organisation: Stored in the EU |
| Accounts, memberships, API keys, settings and the list of projects | Where it is: One control database for all organisations. It holds no texts. | EU organisation: In the EU on our test deployment, for every organisation. Production's control database is planned to be in the EU too. |
For a Global organisation the first three may be stored in any region. Each database checks, on every request, that it is in the region its organisation chose, and refuses the request if it is not.
With the CLI, init --create makes the project where its organisation is. --jurisdiction must name the same place.
What residency does not cover
Residency is about where data is stored. These leave that storage because you ask:
- A request is handled in Cloudflare's network wherever it arrives, which can be outside the EU, and its answer travels to whoever asked: a browser, the CLI, a pipeline.
- Machine translation sends the source text to the provider whose key your organisation added.
- A webhook sends its events to the address you gave it.
And for these, Localeasy cannot say where Cloudflare keeps them:
- Logs. A log line holds an event's name, ids and counts. The lines go to Cloudflare's Workers Logs, and Localeasy does not choose where Cloudflare stores them (Logs).
- E-mail. A message holds the recipient's address and one link into Localeasy. Cloudflare's documentation does not say where messages and its records of them are handled or kept (Sub-processors).
- Cloudflare's recovery copies. Cloudflare keeps what it needs to restore each database to an earlier moment. Its documentation does not say where those copies are kept. Erasure says for how long.
What the audit log records
Every organisation has an audit log. It gets one event per change:
| Category | What it covers | Examples |
|---|---|---|
| Auth | What it covers: Sign-ins and a person's own credentials | Examples: auth.signed_in, passkey.added, session.revoked |
| Access | What it covers: Who can do what | Examples: member.invited, member.role_changed, api_key.created |
| Content | What it covers: Changes to keys and texts | Examples: cell.set, push.completed, branch.merged, keys.changed |
| Config | What it covers: Projects, languages and settings | Examples: project.created, locale.added, project.deleted |
| Integration | What it covers: Git connections, machine translation keys and webhooks | Examples: webhook.created, mt_key.added, git_connection.updated |
| Platform | What it covers: What Localeasy itself did in the organisation | Examples: support.started, org.key_rotated, project.purged |
The API's category filter also takes billing. Nothing writes such events yet.
- A push is one event,
push.completed, with counts. A merge is one event,branch.merged. - Reads are not recorded when they succeed. A read that was denied is. One actor's repeated denials or failures of the same action in a project are one event a minute, with a count.
- An event says what changed without the content: counts, ids and statuses, not the texts.
- An event's outcome is
success,failure,deniedorunknown. Unknown means a change was started and its result never came back.
The API reference lists every action a webhook can subscribe to, which are the audit log's actions that change the organisation's work.
An event's fields
| Field | What it is |
|---|---|
seq | What it is: The event's number in the organisation's log. |
occurred_at, recorded_at | What it is: When it happened, and when the log got it. |
action, category, crud | What it is: What was done, such as cell.set, and its kind. |
outcome, failure_reason, count | What it is: How it ended, and how many attempts the event stands for. |
actor, via | What it is: Who did it: a person, an API key, a git connection or the system. And through whom, such as Localeasy's support. |
project_id, target, summary | What it is: What it was done to, and what changed, without content. |
request_id, trace_id | What it is: The request, and the run. A CLI run sends one trace id on every request, the run id it prints. |
ip, user_agent, country | What it is: The request's address, client and country. Stored encrypted, and removed after 90 days. |
prev_hash, hash | What it is: The chain: each event's hash covers the event and the hash before it. |
Reading and exporting
Owners and admins read the audit log in the app, under Audit log, and filter it by time, category, outcome, actor, project or an id. Searching for a CLI run's id shows what that run did.
Export downloads what the filters show as CSV or NDJSON. The API has the same export, a page at a time: GET /api/v1/audit/export. NDJSON keeps the values as stored, so the chain can be checked from the file. Limits has the page sizes.
For a SIEM, format=ocsf gives each event as an OCSF 1.9.0 event instead, one a line. Sign-ins and revoked sessions are Authentication; a person's account, second factors, project or language limits and role are User Management, a new role its Assign Roles; joining and leaving are Group Management, the organisation the group; the rest is API Activity, its activity the event's create, read, update or delete. The action is metadata.event_code, the event's number metadata.sequence, and what OCSF has no place for, the hashes among it, is under unmapped.
Verifying the log
The log is hash-chained: each event's hash is a SHA-256 over the organisation's id, the previous event's hash and the event itself. Changing or removing an event breaks every hash after it.
Once an hour, when there are new events, the newest event's number and hash are copied to a checkpoint outside the log. Verify, in the app or as POST /api/v1/audit/verify, recomputes the chain from the newest checkpoint to the newest event. It answers that the chain holds, or names the two events it breaks between.
A deployment with a signing key signs each checkpoint with Ed25519. Anyone can read the keys, without a token, at GET /api/v1/audit-keys, and an organisation's checkpoints at GET /api/v1/orgs/{org_id}/audit/checkpoints: each one's event number, hash, time, key and signature. A checkpoint's key is 0 and its signature empty when it was not signed. An old key stays listed after a new one replaces it, so older checkpoints still verify. The audit log records each change of key as audit.key_rotated.
The checkpoints are public by organisation id. Someone who knows the id sees when the organisation's log moved, by the hour, and how many events it has; nothing about what they were.
To check an export on your own machine, run localeasy audit verify on its NDJSON with --org. It recomputes every event's hash and checks the chain against the checkpoints and their signatures, and names the events where it breaks. It keeps the checkpoints it has seen and warns if the server later lists one differently.
An event is vouched for by a checkpoint at or after it with no event missing between. Where the export lacks events, by retention or a filter, the chain starts again after the gap, so the events just before it are checked only against each other: one could be changed, and the events after it left out, without a break. audit verify counts the events a checkpoint vouches for and warns of the others, and of a checkpoint whose event the export lacks. Events newer than the newest checkpoint are vouched for only in a later export, after the next checkpoint.
The signing key is Localeasy's, so Localeasy could sign a rewritten chain. Checkpoints you keep yourself, as audit verify does, show that. The chain shows whether the log was changed after the fact. It does not make the log impossible to change.
Streaming the log
An organisation's log can be sent to one place as it grows: an https address, Splunk's HTTP Event Collector or Datadog. An owner or admin sets it from a signed-in session in the app, as a webhook is, never with an API key, and the address is checked as a webhook's is. The app has no screen for it yet.
| kind | Set with | Each batch |
|---|---|---|
| https (the default) | Set with: url | Each batch: NDJSON, signed as Standard Webhooks with a secret shown once |
| splunk_hec | Set with: url, the collector's …/services/collector/event, and token | Each batch: HEC events, a line each, with Authorization: Splunk and the token |
| datadog | Set with: site, such as datadoghq.eu, and api_key | Each batch: A JSON array of logs, gzipped, with DD-API-KEY |
format is ndjson, an NDJSON export's line, or ocsf, an OCSF event as format=ocsf exports it. Only an https stream's NDJSON lines carry the address, client and country; Splunk and Datadog get neither, nor does OCSF. A Splunk event's sourcetype is localeasy:audit, or localeasy:audit:ocsf, and its time the event's. A Datadog log's ddsource is localeasy, its service localeasy-audit, and its message the line; its time is when Datadog took it, since Datadog refuses times over 18 hours old, and the event's own is inside. Splunk and Datadog take the token as it is, so their batches are not signed; set the stream again with a new token to replace it.
Events after the stream was set go in order, in batches of up to 500 or 1 MB, each a POST. To an https address it is NDJSON (application/x-ndjson) whose lines are an NDJSON export's, hashes included, so the receiver can check the chain; with format=ocsf they are OCSF events, the hashes under unmapped. The headers localeasy-audit-from-seq and localeasy-audit-to-seq name the batch's first and last event. A batch is signed as a webhook is, with Standard Webhooks' headers; the body is not JSON, so a library's check must not parse it (verify(body, headers, { jsonParse: false }) in standardwebhooks).
A batch is sent until a 2xx takes it, so the same events can arrive twice: keep each event's number. A failed batch is sent again after 30 seconds, 2 and 10 minutes, an hour, then every 6 hours. After 7 days of failures the stream pauses, the audit log records audit_stream.paused and the organisation's owners get an e-mail. Setting the address again goes on from the last event a 2xx took. An event retention removed before it was sent is skipped, and its number is missing. A denial or failure that would be counted on an event already sent is an event of its own, so a count the receiver has stays right.
A test sends the newest event at once, marked localeasy-audit-test: 1, and leaves the stream where it was. A new secret signs beside the old one for 24 hours. A deleted stream sends nothing more. Each change is in the audit log.
Retention
How long an event is kept is set when it is written, by its class and the organisation's plan. On Free, which every organisation starts on, by these numbers; Pro and Team keep every class a year, Business two and Enterprise seven:
| Class | What it is | Kept |
|---|---|---|
| Content | What it is: Changes to keys and texts | Kept: 30 days |
| Security | What it is: Everything else: who could do what | Kept: 90 days |
| Read | What it is: Denied reads | Kept: 7 days |
- An expired event is removed. Its number and hashes stay, so the chain still verifies across the gap.
- The request's address, client and country are removed after 90 days, whatever the event's class.
- The encryption keys for stored secrets and request data are replaced once a year.
The audit log covers who did what. A text's own versions are kept in its project, not in the audit log.
Retention has every plan's periods and how long everything else is kept. Erasure says what a deletion removes and what can still be recovered after it.
Deletion and your own data
- A project. An owner or admin deletes it in the project's settings. It leaves every list and call at once. For 7 days an owner or admin can restore it as it was, under Settings › General. Then it is wiped.
- An organisation. An owner deletes it. From then on nobody and no API key gets in. For 7 days an owner can restore it. Then it is wiped with its projects and its audit log.
- Your own data. Profile › Download gives you one file with what Localeasy holds on you: your account, memberships, sign-ins without their secrets, and the audit events you made or that were about you. The texts you wrote belong to the organisation, which exports them with
localeasy pull.
Support access
Localeasy's support can open an organisation to look into a ticket. That access is read-only, ends after 30 minutes at most, and shows in the organisation's audit log as support.started and support.ended.