Document File Integrity
Every document file you upload is stored with a checksum (a SHA-256 fingerprint of its contents). The document file integrity scan re-reads each stored file and compares it with that checksum, so a file that was changed, replaced, damaged or removed outside the application is found and reported.
The scan only reports. It never edits, repairs, restores or deletes a file or a checksum.
What is checked
Section titled “What is checked”For your own company only:
- the file each document currently serves
- the file of each document version that holds a file of its own
A file counts as not matching when its contents no longer produce the recorded checksum, missing when the record points at a file that is not in storage, and unreadable when the file exists but cannot be read. Files that never had a SHA-256 checksum recorded (older uploads) are counted as “no checksum to compare” and are not reported as failures, because there is nothing to compare them with.
When it runs
Section titled “When it runs”- Every night. A scan of every company runs automatically after the nightly backup.
- On demand. An Admin can start a scan of their own company at any time.
A large library is checked in short slices, so a scan can take several minutes to finish. If a scan is interrupted, it continues where it stopped. The last finished scan stays as the result until the next one finishes.
Open the card
Section titled “Open the card”- On the left sidebar, select Workspace settings.
- In the Workspace settings sidebar, select System Configuration.
- Find the Document file integrity card below the configuration table.
Read the last result
Section titled “Read the last result”The card shows the last scan that finished:
| Field | Meaning |
|---|---|
| Finished | When the scan ended |
| Files checked | Files compared with their recorded checksum |
| Mismatches | Files whose contents no longer match the recorded checksum |
| Missing files | Files that are no longer in storage |
| Unreadable files | Files that exist but could not be read |
| No checksum to compare | Files with no SHA-256 checksum on record |
The green “no problems” message appears only when nothing was found and every file could be compared. When some files have no checksum to compare, the message says so instead.
When a scan finds a problem, the card lists up to 50 affected records by document ID (and version record ID, where the version holds the file). Every one of them is also written to the audit trail as an integrity failure, and the operations team is alerted once per scan.
Start a scan now
Section titled “Start a scan now”- Select Run scan now.
- The card shows that the scan is queued or running. It starts within about two minutes.
- When it finishes, the card shows the result.
Only one scan per company can run at a time. If one is already queued or running, a second start is refused with a message. After a scan has been started on demand, wait five minutes before starting another. A refused start is recorded in the audit trail.
If a scan reports a problem
Section titled “If a scan reports a problem”Do not edit or replace the file yourself. Open the document, check its audit trail, and tell your quality lead. Restoring a file from a verified backup is a controlled action that your quality system should record. Contact support if you need help finding the affected record.
The check on the Validation page
Section titled “The check on the Validation page”The integrity check on the Validation page does not read any file. It reports the last scan that finished, with its time, the files checked and what it found, in the same way as the card above. While a scan is queued or running, the page says so and shows how many files have been checked so far, beside the last finished result.
A company that has never had a scan finished reads not checked, never a pass. The first scan runs the night after the company is created, or an Admin can start one from the card. If the last scan stopped before it finished, the check fails with that reason until a new scan completes.
