Cerbos JavaScript SDK
    Preparing search index...

    Interface PlanResourcesConditionalOutput

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

    interface PlanResourcesConditionalOutput {
        action: string;
        actions: string[];
        condition: PlanExpressionOperand;
        conditionString: string;
        kind: CONDITIONAL;
        policyVersion: string;
        requestId: string;
        scope: string;
        validationErrors: ValidationError[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: string

    The action for which the plan was made.

    Use actions instead.

    actions: string[]

    The actions for which the plan was made.

    The root node of the query condition abstract syntax tree.

    conditionString: string

    The query condition abstract syntax tree rendered as a human-readable string.

    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.