Documentation
    Preparing search index...

    Interface EvaluateResult

    Result returned by evaluate() — the complete output of one firewall check.

    The caller uses decision to determine what to do:

    • 'pass' → dispatch (action may be 'flag' → also emit audit event).
    • 'reject' → drop + return error.
    • 'prompt' → reject now + fire consent prompt.

    Primary disposition for the caller.

    The matched rule's exceed-action (informational for 'pass').

    Identifier of the rule that made the decision (or 'default').

    Human-readable reason string for logging/audit.

    The updated FirewallState after this observation (original unchanged).

    interface EvaluateResult {
        action: Action;
        decision: Decision;
        newState: FirewallState;
        reason: string;
        ruleId: string;
    }
    Index

    Properties

    action: Action
    decision: Decision
    newState: FirewallState
    reason: string
    ruleId: string