Expand description
MoQ / event-plane MAC policy-enforcement point (epic #547, #1271; typed resolver v16 §10 / #1510).
This plane consumes the shared RPC-PEP decision contract
(MacDecision) rather than defining a parallel decision vocabulary,
and resolves labels through this plane’s own typed resolver
(MoqEventLabelResolver). A track/prefix string is parsed into the
exact typed identity (MoqEventObjectRef) exactly once at the boundary
helper (MoqEventPep::check_event_prefix /
MoqEventPep::check_stream_track); the resolver never sees a string,
so a MoQ/event coordinate can no longer occupy the RPC/VFS resolver’s
service-domain slot. Unknown or noncanonical coordinates, unlisted
services, missing clearance, and missing labels all deny; a failed
lattice-floor check denies. Callers preserve the pre-activation behavior
by not installing this PEP; dormant event/MoQ paths remain pass-through.
Structs§
- Deny
AllClearance Source - Fail-closed clearance source for an installed event/MoQ PEP.
- MoqEvent
Pep - The installed MoQ/event MAC floor.
- MoqMac
Audit Record - Plane-neutral denial record handed to the parent crate’s MAC audit adapter.
Enums§
- MoqEvent
Action - The MoQ/event verb being authorized.
- MoqMac
Audit Reason - Why a MoQ MAC denial was recorded.
Constants§
- BOUNDED_
AUDIT_ COORDINATE_ MAX_ BYTES - Hard upper bound on the audit object text produced for one malformed
coordinate: the fixed prefix cap plus the widest marker the format emits
(
"~b3:" + 16 hex digest chars + "~len:" + u64 decimal). - MAX_
AUDIT_ COORDINATE_ PREFIX_ BYTES - Verbatim prefix of a malformed coordinate kept in a deny audit record.
Anything beyond it is represented by the digest/length marker of
bounded_audit_coordinate.
Traits§
- Clearance
Source - Resolve a verified event/MoQ subject to its MAC security context.
- MoqMac
Audit Sink - Required audit destination for an active MoQ/event MAC PEP.
Functions§
- bounded_
audit_ coordinate - Deterministic bounded audit identity for a coordinate that failed to parse
into a typed object (
PRRT_kwDONmv2Pc6a2ZGv, v16 §14: audit is a trail, never an authorization input).