Cerbos JavaScript SDK
    Preparing search index...

    Interface DecisionLogEntry

    A decision log entry in the policy decision point's audit log.

    interface DecisionLogEntry {
        auditTrail: AuditTrail;
        callId: string;
        metadata: Record<string, string[]>;
        method: DecisionLogEntryMethod;
        oversized: boolean;
        peer: Peer;
        policySource: PolicySource | undefined;
        timestamp: Date;
    }
    Index

    Properties

    auditTrail: AuditTrail

    Details about how the decision was reached.

    callId: string

    A unique identifier for the logged request.

    metadata: Record<string, string[]>

    Metadata (a.k.a. HTTP headers) sent with the logged request.

    The decision that was made.

    oversized: boolean

    Whether the log entry was truncated because it was too large.

    peer: Peer

    Details of the client who made the logged request.

    policySource: PolicySource | undefined

    Where the policy decision point server sourced its policies.

    timestamp: Date

    The time at which the decision was made by the policy decision point server.