SigilGuard.Audit.Actor (SigilGuard v0.2.0)

View Source

Typed actor information for audit events.

Matches the Actor struct from the sigil-protocol Rust crate (v0.1.5).

Fields

  • :channel — interaction channel ("cli", "web", "mcp", etc.)
  • :user_id — machine-readable identity (DID, principal ID)
  • :username — human-readable display name

Example

%SigilGuard.Audit.Actor{
  channel: "mcp",
  user_id: "did:web:alice",
  username: "Alice"
}

Summary

Types

t()

@type t() :: %SigilGuard.Audit.Actor{
  channel: String.t() | nil,
  user_id: String.t() | nil,
  username: String.t() | nil
}