Anchorage API reference
    Preparing search index...

    Structured record emitted by a breakwater enforcement boundary.

    interface AuditEvent {
        action: string;
        actor: Actor | null;
        decision: "error" | "allowed" | "denied";
        detail?: Record<string, unknown>;
        reason?: string;
        resource: string;
        timestamp: string;
    }
    Index

    Properties

    action: string

    Dotted verb, e.g. 'agent.input.authorize'

    actor: Actor | null

    Actor attributed to the decision, or null when none was resolved.

    decision: "error" | "allowed" | "denied"

    'error' = the gate itself failed (evaluator/getActor threw), not a denial.

    detail?: Record<string, unknown>

    Additional structured fields supplied by the emitting boundary.

    reason?: string

    Human-readable decision or failure reason.

    resource: string

    What was gated, e.g. the processor id

    timestamp: string

    ISO 8601