Cerbos JavaScript SDK
    Preparing search index...

    Interface PlanResourcesUnconditionalOutput

    A query plan for when the specified action is always allowed or denied for the principal on resources matching the input.

    interface PlanResourcesUnconditionalOutput {
        action: string;
        actions: string[];
        evaluationErrors: CommonExpressionLanguageEvaluationError[];
        kind: ALWAYS_ALLOWED | ALWAYS_DENIED;
        policyVersion: string;
        requestId: string;
        scope: string;
        validationErrors: ValidationError[];
    }

    Hierarchy (View Summary)

    Index
    action: string

    The action for which the plan was made.

    Use actions instead.

    actions: string[]

    The actions for which the plan was made.

    Any errors encountered when evaluating the plan.

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

    The type of plan.

    policyVersion: string

    The version of the policy that was used to make the plan.

    requestId: string

    An identifier for tracing the request.

    scope: string

    The scope of the policy that was used to make the plan.

    validationErrors: ValidationError[]

    Any schema validation errors for the principal or resource attributes.