Cerbos JavaScript SDK
    Preparing search index...

    Interface PlanResourcesRequestWithActions

    interface PlanResourcesRequestWithActions {
        actions: string[];
        auxData?: AuxData;
        includeMetadata?: boolean;
        principal: Principal;
        requestContext?: RequestContext;
        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.

    requestContext?: RequestContext

    Metadata to attach to the request.

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

    This information will be captured in the audit logs if audit logging is enabled in the policy decision point server.

    requestId?: string

    The identifier for tracing the request.

    A randomly-generated UUID.
    
    resource: ResourceQuery

    Partial details of the resources for which to plan.