Cerbos JavaScript SDK
    Preparing search index...

    Interface PlanResourcesMetadata

    Additional information about the query plan.

    interface PlanResourcesMetadata {
        conditionString: string;
        matchedScope: string;
        matchedScopes: Record<string, string>;
    }
    Index

    Properties

    conditionString: string

    The query condition abstract syntax tree rendered as a human-readable string, to help with debugging.

    matchedScope: string

    The policy scope that was used to plan the query.

    Use matchedScopes instead.

    matchedScopes: Record<string, string>

    The policy scopesthat were used to plan the query for each action.

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