For your IT and security team

What Erlangly is, where its data lives and how it's protected, for the people who approve new software. The usual security questionnaire, filled in, is one download.

How it runs

  • Erlangly is one Docker container on a Linux server you run: Ubuntu or Debian, on x86-64 or ARM64, in your cloud account, your data center or your office. It's a Rails app with a compiled core for staffing, scheduling and the license check, and its data is in SQLite databases in a Docker volume on that server. There's no separate database server or anything else to run beside it.
  • Your planners, supervisors and agents use it in a browser, agents mostly on their phones. Your own scripts and AI assistants use its API.
  • We, FrontLine Software Solutions, don't host it and can't reach it. We have no account on your install, no remote access and no way to sign in to it, and there's no telemetry.

What connects where

Coming in: the people who use it, on port 80, and 443 once it has a domain (or the one port your own HTTPS proxy forwards to). Going out, only these, and all but the first only once you set them up:

WhatWhere toWhen
Update checkget.erlangly.com: a plain request for the latest version number, carrying nothing about your installOnce a day; turn it off under Settings → System
Installing and upgradingget.erlangly.com, ghcr.io and pkg-containers.githubusercontent.com (the image), get.docker.com and download.docker.com (only if Docker isn't installed), and your system's package mirrorWhen you install or run erlangly upgrade
HTTPS certificateLet's EncryptWhen you give it a domain
EmailYour mail server, with STARTTLS unless you choose otherwiseOnce you set it up
Single sign-onYour identity providerOnce you set it up
Your ACDIts API: Twilio, Zoom, Genesys Cloud, NICE CXone, Amazon Connect or Five9. Erlangly only reads, and connects out, so nothing has to be open to the internet for it.Once you connect it
Copies as it changesYour own S3-compatible bucket or Azure Blob Storage container (Litestream)Once you set it up
AI assistantsThe assistant's published details: a small document over HTTPS, from a public address onlyWhen someone connects one, once an admin has turned them on
WebhooksThe address an admin gives each webhook: signed events saying what changed, with IDs and dates only (never names, times or notes), over HTTPS to a public address. Erlangly looks the name up as it sends, checks every address it has, and connects only to the one it checked; it follows no redirects, waits 10 seconds at most, and keeps only the status code. Never the server's or Erlangly's container's own addresses, loopback, link-local, the cloud metadata service or other reserved addresses. A private address only in a range the server's operator allows with erlangly webhooks allow (no wider than /16, in the audit trail), where plain HTTP is allowed too, with an internal certificate authority if you name one. Webhooks.Once an admin adds one, confirming who they are first; every admin is emailed
Notifications to phones and computersThe push service of each person's browser: Apple's, Google's, Mozilla's or Microsoft's (their hosts). Each notification is encrypted for the device and signed with your install's own key, so the push service can't read it: it sees only when one went, to which device, and your install's address, as the sender. Nothing reaches us. A lock screen shows only what happened, with the person's own dates, times and activities and a colleague's first name.Once someone turns notifications on for a device; an admin can turn them off for everyone under Settings → Notifications

Any other ACD sends agents' states in, to /api/v1/agent_state_events, with its own token. AI assistants that run in a vendor's cloud (claude.ai, ChatGPT) can only reach an Erlangly that's on the internet.

Activating the license isn't a connection from the server. An admin's browser opens store.erlangly.com only to activate a license or release it, carrying the key's id, a random id for the install and the install's address, and brings back a signed activation code that the server checks offline. A server whose network can't reach the internet is activated with typed codes, entered at store.erlangly.com/activate from any device that can, a phone say. Activating.

Encryption

  • In transit: give Erlangly a domain (TLS_DOMAIN) and it gets a Let's Encrypt certificate, serves HTTPS only, sends plain HTTP on to it and tells browsers to use HTTPS for two years (HSTS). Or put it behind your own HTTPS proxy (ERLANGLY_URL): Erlangly then sends HSTS and marks its cookies secure, and your proxy turns plain HTTP away, so only the proxy should reach Erlangly's port. Without either, it serves plain HTTP, which is only for a trusted network: admins opening Settings → System that way at a public address see a warning. Install with HTTPS.
  • At rest: the databases are files on your server's disk, and Erlangly doesn't encrypt them itself. Use your server's disk encryption, or your cloud provider's encrypted volumes.
  • Secrets: the mail server password, the single sign-on client secret, each ACD connection's secrets, the key notifications are signed with, each webhook's signing secret, and each person's authenticator key are encrypted in the database (AES-256-GCM), with a key made from your install's own secret key, which it generates on first start. Passwords are stored as bcrypt hashes. API tokens, AI assistants' tokens, ACD connection tokens, recovery codes and remembered devices' tokens are stored only as SHA-256 digests. The license key and its activation code are stored as they are, and the short-lived access keys your ACD gives Erlangly are kept unencrypted in its cache until they expire.
  • Backups: backups and Litestream copies aren't encrypted by Erlangly, and a backup holds the install's secret key too, so whoever has one can read everything in it, the secrets included. Keep them as safe as the server: on encrypted storage, or in a private bucket with keys of its own, for only the people who run Erlangly.

Backups and recovery

  • Every night Erlangly backs up all its data on the server, and keeps one a day for a week and one a week for the four weeks before (you can change how many). erlangly backup writes one to /var/backups/erlangly, readable only by root, to copy off the server with your usual backups.
  • erlangly restore checks a backup before it puts it back, and a damaged one changes nothing.
  • With Litestream, every change to the main database is copied to your own bucket or Azure container within seconds. A new server given your /etc/erlangly/erlangly.conf restores from it on its first start.
  • Each upgrade takes a snapshot before it changes the database, and puts the previous version and the snapshot back by itself if the new version doesn't start.
  • How much you could lose is up to what you set up: up to a day with nightly backups copied off the server, seconds with Litestream.
  • Admins are told in Erlangly, and by email once email is set up, when a backup fails, the disk runs low or an ACD connection stops. /up?deep=1 lets your monitoring see it too. Running Erlangly.

Who can do what

  • Four roles, each with everything the one before can do: agents see their own schedule and ask for time off and swaps; supervisors follow the floor and decide requests, never their own; planners forecast and schedule; admins also manage users, connections, sign-in, backups, exports and the license. Users and roles.
  • Clients kept apart: on an install that serves several clients, an admin can limit each planner or supervisor to the clients they work for. They then see and change only those clients' lines of business, schedules, forecasts, people, requests and floor, on every page, download and import, and through the API and AI assistants; another client's records answer 404. But someone who works for two clients is seen by both clients' staff, with their time off and exceptions, and that person's shifts for the other client, and overtime worked for it outside a shift, name that client and its line of business, including through the API and AI assistants. Settings every client shares are changed only by planners who see every client, and admins. Admins see everything. The checks are in the application, and a test tries every page and API route as a limited user with another client's records. Limit someone to some clients.
  • Passwords: at least 12 characters, 10 tries per account from one network in 3 minutes and 100 across all networks, sessions of 30 days. A reset signs the person out everywhere and revokes their API tokens and AI assistants.
  • Single sign-on: OpenID Connect with PKCE, with Microsoft Entra ID, Okta, Google Workspace or any OIDC provider. Require it for staff or for everyone, from the email domains you allow, with sessions of 12 hours. Break-glass admins keep a password, and once email is set up, each of their password sign-ins is emailed to the other admins. Turned off at your provider, someone can't sign in again once their 12 hours are up; their API tokens and AI assistants last up to 30 days, so turn them off in Erlangly too. Signing in with your provider doesn't use Erlangly's two-factor authentication: require a second factor at your provider. SAML and SCIM aren't there yet. Single sign-on.
  • Leavers: when someone's leaving takes effect, Can sign in goes off, which signs them out everywhere, and their tokens and AI assistants are revoked, so coming back always goes through Settings → Users. Turning someone's account off signs them out everywhere too, and their tokens and AI assistants stop working.
  • API tokens: personal, with their owner's role, read-only unless made to change things, and expiring after 30 days, 90 days or a year (30 days at most when SSO is required). They leave out other people's email addresses, ACD IDs, time-off notes, balances and exceptions' reasons unless an admin includes them. Shown once; admins see and revoke everyone's. API and command line.
  • Integration tokens: for your own systems, like an HR sync, that keep working whoever leaves. Each acts as an integration's own user, which can't sign in, with the clients an admin chose, and does only what an admin allowed it: read, with people's personal details or without them, and import people, time off and balances from your HR system. Every other endpoint is refused, and it can never ask for or decide time off, or publish. HR imports keep only the columns Erlangly reads, their files are cleared after a week, and their rows' details after 30 days, once they can't be undone. An admin makes one after entering their password again, and their two-factor code if they use it (or a fresh SSO sign-in), and every admin is emailed when one is made, changed, renewed or revoked, and a week before it expires, within a year. 600 requests a minute each; never usable by AI assistants. Integration tokens, and Automating Erlangly.
  • Webhooks: only admins add, change and remove them, after entering their password again with their two-factor code (or a fresh SSO sign-in), and every admin is emailed each time, and when one is turned off after 3 days of failing. Each can be limited to some clients, and is told only what those clients' staff see. The signing secret is encrypted at rest, shown once, and kept out of the audit trail and exports.
  • AI assistants (MCP): off until an admin turns them on. Each signs in as a person (OAuth with PKCE), reads only unless they chose otherwise, and can't publish a schedule. Its keys last an hour and are renewed while it's in use; it's disconnected after 30 days unused. It never sees other people's personal details. (Developer tools can use a personal API token instead, with that token's access.)
  • Clients' weekly reports: sent from Erlangly only to the people on each client's list, which only planners who see every client and admins change, with a copy to the planner who sends it (who can send it to themselves alone first), and never to the address of anyone else who signs in. Agents' schedule adherence, shrinkage and occupancy are in a report only where those same people turn them on for the client, and each only where 5 agents' time or more went into it, that week and on the month's days before it, as with fewer it would say how each of them did. A copy still waiting to go when someone is taken off the list isn't sent. Each is kept as it went, with who sent it, when and to whom, until an admin deletes that client's reports, and goes into exports until then. The audit trail notes each one sent and each deletion, never what a report said or who it went to. Sending a client's report.
  • Audit trail: who created, changed or removed people, users, time off, swaps, shifts, breaks, schedules, forecasts and settings, and when; what was removed, as it was, with the reason when one was asked for; every export; every API token and AI assistant. Nobody can change it in Erlangly. Admins read it in Settings → Audit trail, newest first, by person, dates, kind of record, or only what an AI assistant or token changed, and get all of it with an export. Shifts generated, imported or removed with their schedule aren't in it one by one, an import from an HR system is one line with what it changed, and ordinary sign-ins aren't in it; break-glass ones are, as are setting up, moving and resetting two-factor authentication, each recovery code used, wrong codes, and devices remembered or forgotten.
  • Limits: 600 API requests a minute from one address, 300 a minute for each AI assistant, and request bodies of 10 MB (2 MB for the API).

Updates and security fixes

  • Security fixes come in a new release; we don't patch older versions. erlangly upgrade installs it, and while the daily update check is on, admins see a note in Erlangly when one is out. The changelog says what each release changes.
  • The erlangly command downloads each release by the image digest listed at get.erlangly.com/images, never just by its tag. Before it replaces itself with a newer copy, it checks the copy against published checksums and its signature (ECDSA P-256) against the public key it already holds, so whoever controlled our download server still couldn't make your server run code of their own.
  • Labor-law rule packs are signed, and Erlangly checks the signature before it installs one. License keys and activation codes are signed too, and checked on your server, offline. Activating goes through an admin's browser, not the server.
  • With a pay-once license, upgrades install releases from before its Updates end. Once they've ended, newer releases, and the security fixes in them, need Updates again.
  • Found a problem? Email security@erlangly.com: we reply within two business days (reporting a problem).

How we look for vulnerabilities

  • Every change runs Brakeman (static analysis), bundler-audit against an up-to-date advisory database, cargo-audit for the compiled core's dependencies, and the full test suite, in a browser too, with a check of every page for every role.
  • Every release's image is scanned with Trivy, and a fixable high or critical vulnerability fails the release, except a short list we've looked at, each with a date it must be looked at again.
  • Each release is installed over the last public one on a fresh Ubuntu server and checked, and a release is made public only once all of these checks have passed.
  • Every release comes with a software bill of materials (SBOM) for each of its images, in CycloneDX format: every Debian package, gem, Rust crate in the compiled core, Go module, script, font and icon set in it, with its version and license. Get the latest release's from get.erlangly.com, where erlangly-<version>-amd64.cdx.json and -arm64.cdx.json are listed with their checksums, and load it into your own tools, such as Dependency-Track or Grype, to follow new vulnerabilities and licenses.
  • The container runs as an unprivileged user, and pages carry a strict Content-Security-Policy.
  • Not yet: signed container images, or a third-party penetration test.

What we can and can't see

  • Your people, schedules, forecasts, time off, ACD data or anything else in Erlangly: it never leaves your server for ours.
  • How you use it: there's no telemetry or error reporting to us, and the license is checked offline. We know that a license was activated, where and when (below), and nothing after that.
  • The daily update check, which, like any web request, shows us your server's IP address, and which you can turn off.
  • Where each license is activated. Activating it, in an admin's browser, tells our store the key's id, a random id for the install and its address, and, for the free plan, your organization's name, a work email and your country (privacy policy). Nothing about your people, your schedules or how you use Erlangly.
  • Anything you choose to send us for support, which we use only to answer you (privacy policy).

What's yours to look after

  • The server: its updates, its firewall (only the ports above open, and Docker opens published ports past ufw, so check from another machine), its disk encryption and who can sign in to it.
  • HTTPS, with a domain or your own proxy.
  • Copies of backups off the server, kept as safe as the server.
  • Upgrading when releases come out.
  • How people sign in: single sign-on and a second factor at your identity provider, or Erlangly's two-factor authentication for everyone with a password (Settings → Sign-in). Admins always use it with a password.
  • The personal information you keep in Erlangly. Admins can export it all; Erlangly doesn't yet erase or anonymize a person, and keeps agents' states from your ACD for adherence.

Documents

Something we haven't answered? Write to support@erlangly.com.