Audit
Background
An audit document answers one question about one part, in writing: what is this connected to, and how do we know? Pick a part, and Nexus walks its relationships — the design it was built to, the order it came from, the filings it was covered by, its structure, materials and cost, the folders and projects it sits in, its approvals, its files, and its whole revision history — then writes what it found to a PDF and files that PDF as a record inside Nexus.
The record is sealed. It is created already released, it cannot be edited or deleted by anyone (administrators included), and the exact bytes of its PDF are identified by a SHA-256 content hash stored on the record. If the document ever changed, it could not keep that hash. There is no such thing as a corrected audit: you generate another one, and both stand.
The rule that makes it worth reading
Anything the walk could not see is written into the document, never left out.
The walk runs under your permissions. If your account cannot see an assembly that uses the part, or a change that affects it, that fact is listed in section 10, “Declared gaps”, with a count and a reason. This matters more than it sounds: without it, “nothing references this part” and “you may not see what references this part” would look identical on the page. A trail that was cut must not read like a trail that ended.
Gaps are also declared when the walk stopped for an innocent reason — it reached the depth you asked for, or hit its size limit, or a service was briefly unavailable. Zero gaps is the document claiming to be the whole trail. Anything else is qualified, and the document says exactly where.
Generating one
- Open Audit from Home, or right-click any revision and choose Audit — that brings you here with the part already chosen.
- Find the part. Type a part number or description, or press Browse… for the full picker with type filters, the clipboard and the classification tree.
- Choose the revision. This matters: references belong to a specific revision, so the revision you pick decides which links exist at all — not merely which attribute values are reported.
- Choose how far to follow links, 1 to 4 hops. Two is the useful default: a serialized unit, then the design, order and filings it points at, then what those in turn reference.
- Press Generate audit document. It takes a few seconds — it is reading a whole neighbourhood, rendering a PDF and writing it to the vault.
What comes back is the sealed record: its own part number, how many objects the walk reached, how many gaps it declared, and the content hash. Download PDF saves the document; Open the record opens it in Nexus, where the PDF is the primary dataset and a machine-readable JSON copy of the same walk sits alongside it under Files.
Every earlier audit of the same part is listed underneath, newest first, so you can see how the answer has changed over time.
Corrections and removal
Audit reports cannot be edited, withdrawn or deleted by anyone, administrators included; if a report is not what you wanted, generate a new one. Earlier reports of the same part stay in the list, labelled “superseded by” the newest report's number.
What is in the document
- 1. This document — what was audited, by whom, when, how deep, and the scope statement.
- 2. Subject record — the audited revision’s own attributes, owner and dates.
- 3. What this object references — the outbound trail, hop by hop, each with its link kind, its revision rule, and what that rule resolved to.
- 4. What references this object — the same trail read backwards, which is the direction an auditor usually arrives from.
- 5. Structure, materials and cost — the as-designed BOM with one row per occurrence, the material on each line, and the rolled-up cost.
- 6. Where this object sits — projects, folders, classification, contacts, changes, requirement traces, issues.
- 7. Approvals and workflows — who decided what, at which gate, and when.
- 8. Files — what is attached to the audited revision, with each file’s own vault key.
- 9. Revision and field history — every revision with its event trail, then the immutable field-change log.
- 10. Declared gaps — everything the document does not fully cover, and why.
Why “resolved to” is printed against every link
Most links do not name a fixed revision. A Latest Released link resolves afresh every time anyone reads it — so if the target is released again next year, the same link silently starts pointing somewhere new. That is the right behaviour for working data and the wrong behaviour for evidence.
So the document records what each rule resolved to at the moment it was generated, and says so under the table. That is what freezes the answer. The audit report’s own link back to the part it audited is pinned to the exact revision walked, for the same reason.
Tips
- Read section 10 first. It tells you how much of the rest to trust.
- Generating an audit never changes the part. It reads; it writes only its own new record.
- An audit is one account’s view, which is why the document names whose. Two people auditing the same part may honestly produce different documents, and each will say so.
- Deeper is not always better. Four hops from a well-connected part is a map of the neighbourhood rather than a statement about one part.
- To verify a document has not been altered, hash the PDF and compare it with the content hash on the record. They are the same value by construction.
For administrators
Audit reports are created as the Audit Report type, which derives from Audit Report Base. Derive your own type from that base — and attach a document template to it in the Data Model Designer — when a particular kind of audit needs to be presented its own way.
One rule to know if you do: security models are not inherited in Nexus, so your derived type must restate the sealed policy (Released, with edit and delete set to None for every role). The audit service refuses to write into a type whose released state is editable, and will tell you which type is at fault — a forgotten policy fails loudly rather than quietly producing a record someone could edit.
Audit reports need the AuditReport and AuditOfLink types installed and a vault configured. If either is missing, generating explains which.