Skip to main content

Module moq_audit

Module moq_audit 

Source
Expand description

Signed-WAL adapter for MoQ/event-plane MAC denials.

The enforcement point lives in hyprstream-rpc, while the authoritative tamper-evident WAL lives in this parent crate. This adapter keeps that crate direction intact and makes every active MoQ denial use the same AuditRecord / AuditSink contract as the 9P PEP.

Structs§

MoqAuditSinkAdapter
Convert RPC-plane denial records into the authoritative MAC audit schema.
VerifiedClaimsMoqClearanceSource
Event/MoQ subject resolver backed by the same verified-Claims cache as the direct VFS and CAS PEPs.

Functions§

audited_moq_event_pep
Construct an active MoQ/event PEP whose denials flow to the canonical MAC audit sink. Production passes a signed crate::mac::WalAuditStore.
production_moq_event_pep
Assemble the production MoQ/event PEP from the declared track-policy table, verified subject contexts, and the mandatory signed audit WAL.
production_moq_event_pep_with_clearance
Explicit authority injection for checkpoint-admitted native services. This does not manufacture JWT claims or populate the verified-claims cache.