MGCWardenAuditLeaverIntakeChainHead
The end of one company's tamper-evident chain of leaver records from an outside HR system: one row per company, holding the newest sealed record, how many records retention removed lawfully, and the last check. Warden updates it as records arrive, the HR deprovisioning scan records each check, and the Audit chain integrity job publishes it. No data entity exposes it.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
ChainKey | int | No | Always 0. Its unique index allows one chain head per company, so two sessions that both find none cannot both create one. |
LastSequence | int64 | No | The chain sequence of the newest leaver record sealed in this company: how many records the chain has ever held. |
LastDigest | str | No | The chain digest of the newest leaver record sealed in this company. The next record chains from it. |
RemovedRows | int64 | No | How many sealed leaver records the retention purge has removed from this company's chain. The records still present plus this number must equal Last sequence; a shortfall is a record deleted some other way. |
LegacySealed | int64 | No | How many leaver records were received before the chain existed and were sealed when it began (the head's creation time). They are proven unchanged only from that moment. |
VerifiedDateTime | TransDateTime | No | When the HR deprovisioning scan last walked this company's chain. |
VerifiedIntact | NoYes | No | Yes when the last walk found every record reproducing its digest and linking to its predecessor, and the records present plus those removed by retention adding up to Last sequence. |
VerifiedNote | str | No | What the last walk found, naming chain sequences and record ids only, never a person. |
PublicationCount | int64 | No | How many times the Audit chain integrity batch job has published this company's chain head on the audit anchor feed. Each publication carries its number, so a verifier outside D365 can spot one it did not receive. |
PublishedSequence | int64 | No | The chain sequence the last publication ended at. The next publication restates the digest at this sequence, so a verifier outside D365 can see the chain was not rewritten in between. |
PublishedDateTime | TransDateTime | No | When the Audit chain integrity batch job last published this company's chain head on the audit anchor feed. |