Shipping Evidence Controls and Tenant Isolation
Shipping evidence controls are the protections that DaletShip places around quotes, labels, tracking events and invoice lines that it keeps. Those records become evidence when a carrier, a customer or an authority asks a hard question about a parcel later. First, the database keeps each merchant's rows apart, and each stored record is sealed with a digest at that moment. In addition, purpose-bound access receipts note who opened a record and why, while a hold can block its later deletion. This page lists each control, a check your team can run on it and the parts that stay with you.
In short, a control helps only when someone reviews it. Therefore, each section below names a check and an owner.
Key takeaway
DaletShip separates merchant data in the database, freezes evidence with digests and records each access with its purpose. Your team owns the keys, the roles and the reviews that complete these controls.
Why should shipping records be safe from any quiet edit?
A shipping record can settle a dispute, but only when shipping evidence controls protect it. For example, a carrier that bills a surcharge needs the original quote behind it. Likewise, a buyer who says a parcel never arrived needs the tracking events. An export question from a regulator needs the filing reference.
If a record can be changed quietly, its value is gone. The team then cannot prove what happened. Moreover, records hold commercial detail, such as rates, contracts and buyer addresses. Consequently, a platform that serves several merchants must keep each one apart and show that it did.
Shipping evidence controls answer all three needs. As a result, a reviewer can trust what the record shows.
How do all the shipping evidence controls fit in layers?
The shipping evidence controls work in layers. First, the database separates merchant rows, so the boundary holds even when the application errs. Next, records are copied into frozen evidence projections, and digest chains for records make each change visible. Then each view is logged with a purpose, and holds are recorded against matters.
Each layer of the shipping evidence controls has one job. The database guards the boundary, while frozen evidence projections guard the content. Similarly, purpose-bound access receipts guard the reasons, and holds mark which records a matter covers. A review should test each layer, because a control that works in one layer can still be defeated in another.
The diagram shows the evidence store on the right, with the row-level security boundary around it. In fact, every record the engine writes passes through that boundary, and digest chains for records follow it.
Which evidence controls can your team check, and how so?
Each of the shipping evidence controls below comes with a check your team can run. Overall, the checks are simple, and each should be repeated after any configuration change. If time is short, run the tenant isolation check first among the shipping evidence controls. Notably, a failure there would affect every merchant on the installation.
How can you test that each tenant is kept apart?
Among the shipping evidence controls, merchant rows are separated by row-level security first. To check it, sign in as one merchant's operator and try to read another merchant's shipment. That read should fail without exception. Then repeat the check for quotes, labels, cases and reports, since each one holds merchant data.
How do frozen copies and a digest show an edit?
Records are copied into frozen evidence projections when the source row changes. Each event stores its own digest and the one before it, so digest chains for records link every version.
To check frozen evidence projections, change a test record. Then confirm that the earlier projection keeps its original content. In addition, frozen evidence projections should show a new event for the edit.
How does a receipt show who viewed it, and why?
Each view through the evidence interface records the viewer and the stated purpose. So purpose-bound access receipts explain every look at the evidence.
To check it, open an evidence view and enter a purpose. Then confirm that a receipt appears with the same purpose and time. Otherwise, raise the missing receipt with the platform owner.
How do the legal holds and exports leave a trace?
Legal holds and exports start with a record of the matter and the table it protects. To check it, set a hold on a test record and confirm that it appears in the hold list. Also, legal holds and exports both leave receipts, so an export should appear right after you run one.
Give each hold a matter reference and an owner. Otherwise, a hold without a matter reference is hard to explain later. Likewise, a hold with no owner is easy to forget.
How should you write down the result of each control check?
Importantly, a check only helps if its result can be shown later. So record each check while you run it, not from memory afterwards. Each entry needs the same few fields.
Keep the shipping evidence controls log with the deployment record, not in a personal folder. As a result, a reviewer can find each result months later, even after the team has changed.
Which settings in a deployment should a review check first?
Some shipping evidence controls depend on how the platform is deployed. For instance, the container image runs as a non-root user, which limits what a compromised process can change. The database role used by the API should be a restricted role, not a superuser, so row-level security applies. A review should confirm both settings in the deployment, not only in the source code.
Next, keep the encryption key settings in the deployment record. The platform stores carrier credentials encrypted and masks them after saving. Also, a review should confirm that the key is set in production and sits apart from the database backup. It should check that a restore has been tested as well.
When a deployment setting changes, repeat the checks that depend on it. For example, a new database role needs the tenant isolation check run again.
How do roles, reviews and logs keep access in check?
Within the shipping evidence controls, roles decide who may view or change records. So a review compares each role with the work the person does. It then removes any access that work no longer needs. Purpose-bound access receipts are the evidence for that review, since they show each view and its purpose.
A simple review routine has four parts.
- Each quarter: review every role against the work the person does today.
- Each month: read the purpose-bound access receipts, plus legal holds and exports, for merchant data.
- Each year: test one hold, one restore from backup and the digest chains for records.
- Every time: record the review date and the reviewer's name.
The compliance basics guide explains the terms used in these records. In addition, keep the person who changes a role apart from the person who reviews it. Thus, no change is approved only by the person who made it.
What should you ask of the platform owner before launch?
A security reviewer of shipping evidence controls saves time by asking the same questions each time. Above all, each answer should come from evidence, not only a yes or no.
- Which merchant-scoped tables carry a row-level security policy, and where is each policy defined?
- Which database role does the API use, and does it hold superuser rights?
- Where is the encryption key kept, and who can read it?
- Which process checks the digest chains for records, and who is told about a chain break?
- How long are access receipts kept, and how are legal holds and exports logged?
Specifically, each answer should point to a file, a setting or a test result. Also, the platform overview describes the evidence store and gives a useful starting point.
What do the shipping evidence controls give to a merchant?
The shipping evidence controls change four parts of what a merchant can show a reviewer.
- Records hold up: digest chains for records leave a visible trace, so a dispute can rely on the original.
- Clear boundaries: each merchant's detail stays apart from every other merchant's data.
- Accountable access: purpose-bound access receipts put each view purpose on the record.
- Recorded matters: legal holds and exports name the records that each matter covers.
However, the shipping evidence controls support a review and do not replace one. Also, frozen evidence projections and receipts do not make a deployment secure on their own.
Where do the evidence controls stop, and what stays yours?
The shipping evidence controls do not decide who may act for a merchant. Besides, it does not replace the merchant's own controls. Nor does it review the scripts a team writes around the API.
For example, a script that uses an operator's credentials can still do harm. So those credentials need the same protection as the platform's own. Some controls also depend on the environment, such as network rules, identity providers and backup systems. Therefore, the team must protect the data it handles with the same care.
What should you do when a check fails before launch?
A failed check of the shipping evidence controls delays the affected step, but it never skips the check. So stop onboarding in that area, but keep other work moving if it does not depend on the failure. Then fix the cause in the environment and run the same check again.
Next, a second person should watch the rerun and sign the entry. That way, the fix is not judged only by the team that made it. Next, decide in writing whether the gap blocks the first live merchant.
In addition, only the owner can accept a gap, and that acceptance needs a date. Finally, never treat an old pass as a pass today. Instead, run each check on the current configuration.
How do you run the boundary checks before launch day?
Use the checks above as your checklist for the shipping evidence controls. Confirm each one in your environment, record the result and fix any gap before a live merchant is onboarded. The implementation plan includes the boundary check in its first sprint. Also, the multi-carrier ecommerce page describes how a store's records look on the platform.
Common questions teams ask about security and how it works
Does DaletShip separate merchants in the database?
Yes, the schema uses PostgreSQL row-level security on merchant-scoped tables. The database filters rows to the merchant in context, so a query cannot read another merchant's rows. A review should confirm that each table in your deployment has a policy.
What is a frozen evidence projection?
It is an append-only event that holds a source record at a point in time. Each event stores its own digest and the digest before it. The platform records 61 frozen source projections.
Who can see an evidence record?
Access is limited by role and by tenant, and the evidence interface needs a view or compliance capability. Each view records the viewer and the purpose they gave. Those receipts are append-only, so a review sees every view.
What is a legal hold?
A legal hold is an append-only record tied to a matter and set by a person with the hold capability. The code reads the absence of a hold before it allows deletion. Exports are logged with access receipts.
See how DaletShip fits the providers your team uses today
Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.