Cerbos JavaScript SDK
    Preparing search index...

    Interface PlanResourcesRequestWithAction

    interface PlanResourcesRequestWithAction {
        action: string;
        auxData?: AuxData;
        includeMetadata?: boolean;
        principal: Principal;
        requestContext?: RequestContext;
        requestId?: string;
        resource: ResourceQuery;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: string

    The action for which to plan.

    Use actions instead.

    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.