Skip to main content

Crate minco_plugin_audit

Crate minco_plugin_audit 

Source
Expand description

Append-only audit events and a deterministic memory reference sink.

Structs§

AuditActor
Actor snapshot retained without a foreign key to an identity table.
AuditAppendReport
AuditArchiveReceipt
AuditCursor
Stable ledger position independent of a physical table, file or segment.
AuditDigest
Bounded digest used instead of retaining a sensitive raw value.
AuditEvent
AuditFieldChange
Before/after representation for one allowlisted field.
AuditJournalEntry
AuditLedgerServices
AuditLifecyclePolicy
AuditPage
AuditPlugin
AuditQuery
Bounded resource-history query. Authorization remains in the application use case.
AuditRecordV2
Durable semantic action record. This is additive to the legacy AuditEvent.
AuditRelatedResource
A bounded relationship used to gather child or adjacent action history.
AuditRelay
AuditRelayReport
AuditResourceRef
Opaque application resource identity. It never implies a database foreign key.
AuditRetentionPolicy
Retention requires archive proof before any provider may delete hot history.
AuditSegmentStatus
AuditService
AuditSizePolicy
Size thresholds for finite-disk ledgers. None means not applicable, not unchecked.
AuditStorageHealth
AuditStorageSnapshot
AuditTransactionRef
Position inside one source transaction when multiple actions commit together.
MemoryAuditJournal
MemoryAuditLedger
Deterministic segmented reference ledger used by tests and local composition.
MemoryAuditSink

Enums§

AuditActorKind
Stable kind of principal responsible for an action.
AuditDigestAlgorithm
AuditError
AuditHealthSeverity
AuditJournalStatus
AuditLedgerError
AuditOrigin
Origin distinguishes authoritative semantic actions from supporting evidence.
AuditSegmentState
AuditSortDirection
AuditValue
A field value that makes privacy handling explicit in the record itself.

Constants§

MAX_AUDIT_BATCH_BYTES
Maximum encoded payload in one portable ledger batch.
MAX_AUDIT_BATCH_RECORDS
Maximum records in one portable ledger batch.
MAX_AUDIT_CHANGED_FIELDS
Maximum changed fields on one record.
MAX_AUDIT_LABELS
Maximum safe labels on one record.
MAX_AUDIT_LITERAL_BYTES
Maximum encoded size of one literal changed-field value.
MAX_AUDIT_PAGE_SIZE
Maximum records returned by one resource-history query.
MAX_AUDIT_RECORD_BYTES
Maximum encoded size of one V2 record before provider contact.
MAX_AUDIT_RELATED_RESOURCES
Maximum number of explicit related resources on one record.

Traits§

AuditJournalStore
AuditLedgerWriter
AuditReader
AuditSink
AuditStorageInspector

Functions§

evaluate_storage_health
Applies one provider-neutral severity model to a provider snapshot.