Cerbos JavaScript SDK
    Preparing search index...

    Interface AccessLogEntry

    An access log entry in the policy decision point's audit log.

    interface AccessLogEntry {
        callId: string;
        metadata: Record<string, string[]>;
        method: string;
        oversized: boolean;
        peer: Peer;
        policySource: PolicySource | undefined;
        statusCode: Status;
        timestamp: Date;
    }
    Index

    Properties

    callId: string

    A unique identifier for the logged request.

    metadata: Record<string, string[]>

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

    method: string

    The gRPC method that was invoked.

    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.

    Requires the Cerbos policy decision point server to be at least v0.46.

    statusCode: Status

    The status code returned by the policy decision point server.

    timestamp: Date

    The time at which the logged request was received by the policy decision point server.