Leonard runs a dispatch company's whole day, so it holds the company's records. This page says plainly what we do with them. Each line is something we can show you in our code, our settings or our written policies; ask us for the evidence at security@leonarddispatch.com.
What Leonard stores, and where
Leonard stores what a dispatch company keeps: its loads, trucks, drivers, carriers, brokers, documents, invoices, messages and the notes it writes. It stores nothing from a load board: the browser extension reads the page as you look at it, keeps nothing and sends nothing but what you choose to copy.
Records and documents are kept in the United States, with a database and file-storage provider and a hosting provider that are both on the sub-processors page.
Every company's records are separated from every other's inside the database itself, not only in the application: row-level security is on every table, keyed to the company, and a script checks that it is.
The sub-processors are on their own page.
Who can see it
Inside a company, what a person sees depends on a role the owner gives them. The table below is the one the database itself reads.
Leonard's own staff see a company's name, plan and totals. They cannot see its loads, rates, documents, messages, drivers or invoices unless the company's owner approves it: approval lasts 24 hours, is read-only unless the owner allows changes, and the owner can end it at any time.
For an outage or a security incident on that company only, staff can open a two-hour, read-only break-glass access with a written reason. The owner is emailed at once and it shows in red in the company's activity log.
Every staff read of a company is written to a log the company can see in its own Activity page. The audit log is append-only in the database, for every role, and is kept 13 months.
An owner can require two-factor sign-in for owners, or for everyone. Owner-only actions check the session's second step in the database, not only on the screen. Sessions end when idle and last at most 12 hours.
- OwnerAn owner sees and changes everything, and is the only one who exports, issues API keys, runs partner programs, approves Leonard's support access or deletes the company.
- DispatcherA dispatcher sees loads, rates and messages, books loads and works the invoices of the carriers they work. They never see payroll or company settings.
- Dispatcher (in training)A dispatcher in training books loads and reads messages, but doesn't see invoices, payroll or settings.
- OperationsOperations sees and books everything on the board and works the money side of loads. They don't change the company's settings, payroll or exports.
- BookkeeperA bookkeeper sees invoices, payments and expenses, and the loads and rates behind them; never messages or driver texts, and never books a load.
- ViewerA viewer reads loads, rates and invoices and can't change anything. No messages, driver texts or payroll.
What Leonard reads
Leonard reads documents, emails, texts, screens and public records written by people outside your company. Each one reaches him marked with where it came from, and is material to read, never an instruction to follow. What he hands back is checked by the code before anything is saved, and whether anything is sent is decided by your own settings, not by what he read. An address, a phone number or bank details that are not on your records are flagged on the draft and are never sent to automatically. A set of planted instructions is run against this on every build.
Who else handles it
The companies that host or run part of Leonard are listed, with what each does and where, on the sub-processors page. Owners are emailed at least 30 days before one is added.
See the sub-processors, and the data processing addendum that binds them.
Encryption
Everything between your browser, your phone or your drivers' phones and Leonard travels over HTTPS.
The database, the file storage and the backups are encrypted at rest by our providers. Their own published security reports, which we rely on for this, are linked below.
Backups and recovery
The database is dumped every night to a private store. The last 30 nights are kept and older ones are deleted. Before every database change goes live, a backup less than a day old is checked for or taken.
Every week the newest backup is restored into a scratch database and checked, and the result is written down. A backup that can't be restored fails loudly and opens an issue.
If the database were lost, the most record data we could lose is the last 24 hours, because the dump is nightly. Uploaded documents are not in the nightly dump: they stay in file storage with our provider, and an off-site copy of them is not in place yet. We say so because a reviewer should know.
Backups are kept 30 days and then deleted on their normal schedule. A deleted company is not restored from them.
How long a restore takes is timed in the weekly test and written down each time; we will quote the number here once it has run.
Export and deletion
The owner can export everything: a spreadsheet for every kind of record the company has, every document, the audit log, and a note saying what each file is. It is built in the background and emailed as a link that works for 7 days. The start, the finish and every download are written to the audit log.
The owner can delete the company. It locks at once; 30 days later every record, document and sign-in is deleted for good, and the deletion is confirmed by email. The owner is emailed when it's asked for, 7 days before, and when it's done, and can undo it any time before.
Deleting a company deletes its stored files as well as its rows, and the job checks the files are gone before it removes the rows.
Backups are kept 30 days and then deleted on their normal schedule. A deleted company is not restored from them.
How long each kind of data is kept
Each kind of data below has a time and a named job that deletes it when the time is up. Each rule has a test that seeds old data and checks it goes.
| Data | Kept | Deleted by |
|---|---|---|
| Tracking positions (the dots on a truck's map) | 90 days after delivery. The owner can switch on "keep this trip's positions" for a load, and its positions stay. | the daily retention job (prune_truck_positions, migration 0081) |
| Driver texts (SMS bodies, both directions) | 18 months | the daily retention job |
| Emails Leonard sent for the company | 18 months | the daily retention job |
| Emails received into the company's inbox | 18 months | the daily retention job |
| Texts Leonard couldn't place with a company | 30 days | the daily retention job |
| Who opened which record, and who revealed a phone number | 12 months | the daily retention job |
| Webhook deliveries (what Leonard posted to a company's own systems) | 30 days | the webhook delivery job |
| The audit log (who did what, from where) | 13 months | the hourly audit job (activity_prune) |
| The API request log | 13 months | the daily retention job |
| What Leonard's reasoning cost (one line per call: the feature, the counts, the cost, the time; never the question or the answer) | 13 months | the daily retention job (leonard_usage_prune, migration 0086) |
| Idempotency keys of API uploads (the key and a fingerprint of the request, never the file) | 7 days | the daily retention job |
| Export everything: the zip files | 7 days from when they're ready | the export job (and the daily retention job as a backstop) |
| Backups of the database | 30 days | the nightly backup workflow, which prunes older dumps |
| A deleted company's records, documents and sign-ins | Deleted the day the 30-day grace ends. Backups holding it are deleted by their own 30-day rule; a deleted company is never restored from them. | the daily deletion job |
| One line per deleted company: its name, who asked, the day, how many files and sign-ins went | Kept, as proof the deletion happened. It links to nothing that was deleted. | nothing; it is the record that deletion ran |
| Loads, documents, invoices, drivers, broker history | As long as the company is a customer, then until it asks for deletion | the daily deletion job, after the owner asks |
Report a security issue
Found something? Tell us at the address on the report page. Our security contact and policy are also published at /.well-known/security.txt.
Compliance
SOC 2 Type I in preparation. We do not yet hold a SOC 2 report, and we will say so here when we do. The policies we are preparing it with, and a bank of answers to security questionnaires, are available to a partner's security reviewer on request.