Capsule Audit Identity Types (entry/coverage.rs)

astrid · crates/astrid-audit/src/entry/coverage.rs · rust · Apache-2.0
auth, security, lang:wasm, fw:serde, tag:embed-classified, tag:host

Defines structures for representing a capsule's code identity and provider request IDs in host‑observed audit logs, enabling secure attribution of actions.

// Source: https://github.com/astrid-runtime/astrid | License: Apache-2.0 | Copyright 2025 Joshua J. Bouw and Unicity Labs
// Provided via justclaw.it.com; keep this notice with the code.
//! Supporting types for the host-observed audit actions: the code identity a
//! host-call entry is attributed to, and provider request ids on HTTP
//! completions.

use astrid_crypto::ContentHash;
use serde::{Deserialize, Serialize};

/// Code identity of the capsule a host-observed entry is attributed to.
///
/// Stamped by the host from the capsule it loaded, never taken from the
/// guest: `capsule_id` is the manifest package name and `wasm_hash` is the
/// BLAKE3 hash of the wasm component the host verified before loading it.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key