pub struct GuestDeclaration {
pub probe_source: String,
pub guest_pid: u32,
pub guest_comm: String,
pub guest_monotonic_ns: u64,
}Expand description
Fields a guest-side agent fills. Anything else is host-stamped on receipt and overrides what the guest sent (ADR-0006 §6).
Type-level non-forgeability. The struct has no cell_id/run_id/
spec_signature_hash fields — the wire decoder (listener::decode_frame)
drops any such keys the guest tries to stuff into the CBOR map, and the
stamping layer (host_stamp::stamp) reads attribution exclusively from
HostStamp. This is the structural enforcement of ADR-0006 §6: a
compromised guest cannot forge cross-cell attribution because the
attribution fields don’t exist on this type.
Fields§
§probe_source: StringProbe source identifier (e.g. "process.spawned",
"net.connect_attempted"). The set of valid values is locked in
cellos_telemetry::probe_source.
guest_pid: u32Guest-side process id observed by the probe.
guest_comm: StringGuest-side process command name.
guest_monotonic_ns: u64Guest-side monotonic timestamp at probe-fire (ns).
Trait Implementations§
Source§impl Clone for GuestDeclaration
impl Clone for GuestDeclaration
Source§fn clone(&self) -> GuestDeclaration
fn clone(&self) -> GuestDeclaration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more