nside_wefa.audit.serializers

Serializers for audit LogEntry rows.

The default AuditEventSerializer is read-only and exposes the fields that matter to operators and end users alike. The AuditEventIntegritySerializer adds the hash-chain columns and is used only by the staff detail endpoint when tamper-evidence is enabled.

Classes

AuditEventIntegritySerializer(*args, **kwargs)

Variant that exposes the tamper-evident hash chain columns.

AuditEventSerializer(*args, **kwargs)

Default read-only representation of a LogEntry.