Cerbos JavaScript SDK
    Preparing search index...

    Interface PlanResourcesRequestWithActions

    interface PlanResourcesRequestWithActions {
        actions: string[];
        auxData?: AuxData;
        includeMetadata?: boolean;
        principal: Principal;
        requestId?: string;
        resource: ResourceQuery;
    }

    Hierarchy (View Summary)

    Index

    Properties

    actions: string[]

    The actions for which to plan.

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

    auxData?: AuxData

    Auxiliary data.

    {}

    includeMetadata?: boolean

    Include additional metadata in the plan?

    false

    principal: Principal

    The principal for whom to plan.

    requestId?: string

    The identifier for tracing the request.

    A randomly-generated UUID.
    
    resource: ResourceQuery

    Partial details of the resources for which to plan.