Skip to main content

MGCWardenAuditEvent

One entry in the Warden audit store: a record read or change, report run, entity request, guard decision or Warden action, with who acted, the record and when; close repeats fold into one row. Shared across companies, written by the Audit queue writer job and other Warden processes, and append-only: only a certified audit purge removes rows. Exposed as WardenAuditEvents.

Fields​

NameTypeMandatoryDescription
PartitionKeystrNoThe company the row was recorded in, which is also its store partition. Sequence numbers run without gaps within each partition.
SequenceNoint64No
EventKindMGCWardenAuditEventKindNo
ActorMGCWardenUserRefNoWho acted, as a subject reference (WP- and twelve characters; older rows hold the user ID); blank when no person is known to have acted. Only the Warden identity resolver role can turn it into a person.
RefTableIdRefTableIdNo
RefRecIdRefRecIdNo
RecordKeyMGCWardenDocumentKeyNoNatural key of the governed document (e.g. purchase order number). Carried beside RefTableId/RefRecId so timeline rows survive document deletion: no field is ever added to a standard table (suite rule).
MenuItemNamestrNo
FormNamestrNo
CompanyDataAreaIdNo
GrainMGCWardenAuditSensorGrainNo
OccurrenceCountintNoHow many identical captures this row stands for: repeats by the same actor on the same object within the dedup window add to this count instead of writing new rows. 1 means a single capture.
FirstOccurredTransDateTimeNo
LastOccurredTransDateTimeNo
SourceRefstrNoIdentifies the guard event or database log row this store row was taken from, when it came from one.
DetailNotesNoThe event described in words, as forms, entities, evidence packs and the timeline show it. It is rendered from the detail template and its parameters; on older rows it is the only record of the detail.
DetailTemplateMGCWardenAuditDetailTemplateNoWhich wording template the Detail text is rendered from. Unmapped marks an older row whose Detail text was stored as written and is its only source.
RetentionClassIdstrNoThe retention class of the register entry that allowed this capture, stamped when it was captured. A purge keeps each row for its class's period; blank means unknown and holds the row to the longest configured class.