Cerbos JavaScript SDK
    Preparing search index...

    Interface InspectedPolicy

    Details of a policy in the store.

    interface InspectedPolicy {
        actions: string[];
        attributes: InspectedAttribute[];
        constants: InspectedConstant[];
        derivedRoles: InspectedDerivedRole[];
        id: string;
        variables: InspectedVariable[];
    }
    Index

    Properties

    actions: string[]

    Actions defined in the policy.

    attributes: InspectedAttribute[]

    Attributes referenced in the policy.

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

    constants: InspectedConstant[]

    Constants referenced in the policy.

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

    derivedRoles: InspectedDerivedRole[]

    Derived roles referenced in the policy.

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

    id: string

    ID of the policy.

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

    variables: InspectedVariable[]

    Variables referenced in the policy.

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